Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 120.8 kB / 18.46 MB, free: 4.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 190.9 kB / 21.4 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 225.6 MB / 249.8 MB, free: 3.598 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 47.92 kB / 366.8 MB, free: 456 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1223, allocations: 52.14 MB / 418.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003322/0.1256, allocations: 1.789 MB / 420.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.1268, allocations: 0.6505 MB / 421.4 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.692e-05/0.1269, allocations: 0 / 421.4 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001357/0.127, allocations: 11.86 kB / 421.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.498e-05/0.1271, allocations: 47.64 kB / 421.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002431/0.1273, allocations: 51.8 kB / 421.5 MB, free: 9.641 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001864/0.1275, allocations: 119.4 kB / 421.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.1276, allocations: 21.39 kB / 421.6 MB, free: 9.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.797e-05/0.1277, allocations: 43.84 kB / 421.7 MB, free: 9.457 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.1278, allocations: 47.78 kB / 421.7 MB, free: 9.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.1278, allocations: 8 kB / 421.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.871e-05/0.1279, allocations: 27.98 kB / 421.7 MB, free: 9.375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.046e-05/0.128, allocations: 23.92 kB / 421.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.832e-05/0.128, allocations: 59.72 kB / 421.8 MB, free: 9.293 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002509/0.1283, allocations: 127.5 kB / 421.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.1283, allocations: 0 / 421.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1283, allocations: 0 / 421.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.1283, allocations: 3.938 kB / 422 MB, free: 9.164 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006605/0.1289, allocations: 407.2 kB / 422.3 MB, free: 8.719 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/0.129, allocations: 19.89 kB / 422.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002149/0.1292, allocations: 28.83 kB / 422.4 MB, free: 8.672 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002977/0.1295, allocations: 188.2 kB / 422.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.1295, allocations: 12.5 kB / 422.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.502e-05/0.1296, allocations: 12.38 kB / 422.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002316/0.1298, allocations: 93.53 kB / 422.7 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/0.1298, allocations: 4 kB / 422.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.954e-05/0.1298, allocations: 3.984 kB / 422.7 MB, free: 8.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.405e-06/0.1298, allocations: 8 kB / 422.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001492/0.13, allocations: 59.97 kB / 422.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008235/0.1308, allocations: 455.6 kB / 423.2 MB, free: 7.754 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003092/0.1311, allocations: 94.58 kB / 423.3 MB, free: 7.652 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.595e-05/0.1312, allocations: 36.78 kB / 423.3 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.1312, allocations: 4 kB / 423.3 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.1312, allocations: 30.56 kB / 423.4 MB, free: 7.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.393e-06/0.1312, allocations: 0 / 423.4 MB, free: 7.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.00143/0.1327, allocations: 0.5345 MB / 423.9 MB, free: 6.965 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.1327, allocations: 55.34 kB / 424 MB, free: 6.898 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.1328, allocations: 125.9 kB / 424.1 MB, free: 6.766 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.1329, allocations: 33.7 kB / 424.1 MB, free: 6.727 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.982e-05/0.1329, allocations: 108 kB / 424.2 MB, free: 6.617 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.42e-05/0.133, allocations: 51.59 kB / 424.3 MB, free: 6.566 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.557e-05/0.133, allocations: 29.7 kB / 424.3 MB, free: 6.531 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.1332, allocations: 322.8 kB / 424.6 MB, free: 6.207 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.798e-05/0.1333, allocations: 24 kB / 424.6 MB, free: 6.184 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.923e-05/0.1333, allocations: 61.75 kB / 424.7 MB, free: 6.113 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.1335, allocations: 99.36 kB / 424.8 MB, free: 6.004 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1335, allocations: 0 / 424.8 MB, free: 6.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002123/0.1337, allocations: 138.3 kB / 424.9 MB, free: 5.863 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.1337, allocations: 4 kB / 424.9 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.1337, allocations: 0 / 424.9 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.1338, allocations: 4 kB / 424.9 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.1339, allocations: 27.98 kB / 425 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.1339, allocations: 0 / 425 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.917e-05/0.134, allocations: 16 kB / 425 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.134, allocations: 7.938 kB / 425 MB, free: 5.805 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000122/0.1341, allocations: 125.8 kB / 425.1 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.48e-05/0.1341, allocations: 7.953 kB / 425.1 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.9e-05/0.1342, allocations: 16.38 kB / 425.1 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1342, allocations: 0 / 425.1 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.1342, allocations: 0 / 425.1 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.854e-06/0.1342, allocations: 3.938 kB / 425.1 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005873/0.1348, allocations: 436 kB / 425.6 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1348, allocations: 0 / 425.6 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001473/0.1349, allocations: 24 kB / 425.6 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.874e-06/0.1349, allocations: 3.938 kB / 425.6 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.1349, allocations: 11.98 kB / 425.6 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1349, allocations: 0 / 425.6 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1349, allocations: 3.938 kB / 425.6 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000305/0.1353, allocations: 245.3 kB / 425.9 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.222e-05/0.1353, allocations: 85.06 kB / 425.9 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.1353, allocations: 11.97 kB / 426 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.491e-05/0.1354, allocations: 4 kB / 426 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.855e-05/0.1354, allocations: 4 kB / 426 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.1355, allocations: 8 kB / 426 MB, free: 4.723 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.01e-05/0.1355, allocations: 103.2 kB / 426.1 MB, free: 4.621 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1355, allocations: 0 / 426.1 MB, free: 4.621 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002564/0.1358, allocations: 24 kB / 426.1 MB, free: 4.598 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (mass.s,mass.v,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001361/0.1359, allocations: 107.2 kB / 426.2 MB, free: 4.484 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001939/0.1361, allocations: 75.97 kB / 426.3 MB, free: 4.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1361, allocations: 0 / 426.3 MB, free: 4.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.757e-05/0.1362, allocations: 44.11 kB / 426.3 MB, free: 4.367 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.1365, allocations: 18.39 kB / 426.3 MB, free: 4.352 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008996/0.1374, allocations: 497.4 kB / 426.8 MB, free: 3.828 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.1378, allocations: 0.708 MB / 427.5 MB, free: 3.094 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.798e-05/0.1378, allocations: 11.72 kB / 427.5 MB, free: 3.082 MB / 350.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1378, allocations: 0 / 427.5 MB, free: 3.082 MB / 350.1 MB Notification: Performance of Templates: time 0.003267/0.1411, allocations: 1.43 MB / 429 MB, free: 1.652 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.106228223070502]