Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001781/0.001781, allocations: 121.4 kB / 19.17 MB, free: 3.852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002123/0.002123, allocations: 206.5 kB / 22.12 MB, free: 0.9062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, allocations: 230.2 MB / 255.1 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentForce.lossPower|mass.s|heatCapacitor.T",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentForce.lossPower|mass.s|heatCapacitor.T",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 59.91 kB / 374.5 MB, free: 9.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1222, allocations: 53.33 MB / 427.8 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003976/0.1262, allocations: 2.016 MB / 429.8 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001529/0.1277, allocations: 0.6974 MB / 430.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001677/0.1279, allocations: 4 kB / 430.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001612/0.128, allocations: 19.8 kB / 430.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001704/0.1282, allocations: 39.64 kB / 430.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003619/0.1286, allocations: 59.8 kB / 430.7 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002755/0.1288, allocations: 147.3 kB / 430.8 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.129, allocations: 21.11 kB / 430.8 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.1291, allocations: 55.78 kB / 430.9 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.1292, allocations: 59.77 kB / 430.9 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.579e-05/0.1292, allocations: 8 kB / 430.9 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.1293, allocations: 31.92 kB / 431 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.181e-05/0.1294, allocations: 19.92 kB / 431 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.72e-05/0.1295, allocations: 67.66 kB / 431.1 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003016/0.1298, allocations: 155.4 kB / 431.2 MB, free: 1.098 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1298, allocations: 0 / 431.2 MB, free: 1.098 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1298, allocations: 0 / 431.2 MB, free: 1.098 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.1298, allocations: 0 / 431.2 MB, free: 1.098 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008395/0.1306, allocations: 446.8 kB / 431.6 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.1307, allocations: 8.031 kB / 431.7 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002352/0.1309, allocations: 32.83 kB / 431.7 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003414/0.1312, allocations: 208.1 kB / 431.9 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.1313, allocations: 8.375 kB / 431.9 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.293e-05/0.1313, allocations: 12.38 kB / 431.9 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003009/0.1316, allocations: 117.6 kB / 432 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.1316, allocations: 3.953 kB / 432 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.1316, allocations: 4 kB / 432 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.1316, allocations: 3.938 kB / 432 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002903/0.1319, allocations: 107.9 kB / 432.1 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009646/0.1329, allocations: 483.5 kB / 432.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003857/0.1333, allocations: 118.5 kB / 432.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.1334, allocations: 44.88 kB / 432.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.1334, allocations: 4.219 kB / 432.8 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.1335, allocations: 34.5 kB / 432.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.322e-06/0.1335, allocations: 0 / 432.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.001247/0.1347, allocations: 485.9 kB / 433.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/0.1348, allocations: 51.41 kB / 433.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/0.1349, allocations: 140.8 kB / 433.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.1349, allocations: 29.7 kB / 433.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.431e-05/0.135, allocations: 116.2 kB / 433.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.441e-05/0.1351, allocations: 51.58 kB / 433.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.733e-05/0.1352, allocations: 33.67 kB / 433.7 MB, free: 14.35 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.1353, allocations: 318.8 kB / 434 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.1355, allocations: 43.97 kB / 434.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.1356, allocations: 75.39 kB / 434.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002786/0.1359, allocations: 131.3 kB / 434.3 MB, free: 13.76 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1359, allocations: 0 / 434.3 MB, free: 13.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003886/0.1363, allocations: 165.2 kB / 434.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.1363, allocations: 12 kB / 434.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.1363, allocations: 0 / 434.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.1363, allocations: 4 kB / 434.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/0.1365, allocations: 39.91 kB / 434.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.1366, allocations: 4 kB / 434.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.1367, allocations: 8 kB / 434.5 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.1367, allocations: 4 kB / 434.5 MB, free: 13.52 MB / 366.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 (18): * Single equations (assignments): 18 * 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.0001131/0.1368, allocations: 125.8 kB / 434.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.889e-05/0.1368, allocations: 15.89 kB / 434.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.506e-05/0.1369, allocations: 16.84 kB / 434.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.1369, allocations: 8.031 kB / 434.6 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1369, allocations: 3.938 kB / 434.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1369, allocations: 0 / 434.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000823/0.1377, allocations: 476.7 kB / 435.1 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.1377, allocations: 4 kB / 435.1 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001982/0.1379, allocations: 31.97 kB / 435.2 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.1379, allocations: 4 kB / 435.2 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.1379, allocations: 0 / 435.2 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.63e-06/0.1379, allocations: 4 kB / 435.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.1379, allocations: 7.875 kB / 435.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005285/0.1385, allocations: 305.1 kB / 435.5 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.239e-05/0.1385, allocations: 85.06 kB / 435.5 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.582e-05/0.1386, allocations: 4 kB / 435.6 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.1387, allocations: 12.03 kB / 435.6 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.769e-05/0.1387, allocations: 7.984 kB / 435.6 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.1388, allocations: 12 kB / 435.6 MB, free: 12.31 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.738e-05/0.1388, allocations: 101.5 kB / 435.7 MB, free: 12.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1388, allocations: 0 / 435.7 MB, free: 12.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002914/0.1391, allocations: 28 kB / 435.7 MB, free: 12.18 MB / 366.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 (13): * Single equations (assignments): 13 * 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.0001477/0.1393, allocations: 115 kB / 435.8 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003411/0.1396, allocations: 112 kB / 435.9 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1396, allocations: 4 kB / 435.9 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001436/0.1398, allocations: 55.95 kB / 436 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003904/0.1401, allocations: 26.02 kB / 436 MB, free: 11.87 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.1412, allocations: 0.5029 MB / 436.5 MB, free: 11.33 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003876/0.1416, allocations: 0.7119 MB / 437.2 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.168e-05/0.1416, allocations: 15.44 kB / 437.2 MB, free: 10.58 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1416, allocations: 0 / 437.2 MB, free: 10.58 MB / 366.1 MB Notification: Performance of Templates: time 0.004308/0.1459, allocations: 1.698 MB / 438.9 MB, free: 8.887 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 6.9870892179897055]