Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.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.00161/0.00161, allocations: 114.6 kB / 18.5 MB, free: 4.562 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.001864/0.001864, allocations: 198.6 kB / 21.45 MB, free: 1.613 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.53/1.53, allocations: 230.2 MB / 254.5 MB, free: 15.41 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.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First") translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 67.89 kB / 373.8 MB, free: 9.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1169, allocations: 53.32 MB / 427.2 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003954/0.1209, allocations: 2.375 MB / 429.5 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001291/0.1222, allocations: 0.6427 MB / 430.2 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001405/0.1223, allocations: 7.938 kB / 430.2 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001782/0.1225, allocations: 39.64 kB / 430.2 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001959/0.1227, allocations: 83.27 kB / 430.3 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002808/0.123, allocations: 59.88 kB / 430.4 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003594/0.1233, allocations: 274.8 kB / 430.6 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002113/0.1236, allocations: 70.78 kB / 430.7 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002409/0.1238, allocations: 123.5 kB / 430.8 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001797/0.124, allocations: 107.5 kB / 430.9 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.071e-05/0.124, allocations: 24 kB / 430.9 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.413e-05/0.1241, allocations: 27.98 kB / 431 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.891e-05/0.1242, allocations: 51.78 kB / 431 MB, free: 0.625 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001363/0.1243, allocations: 131.3 kB / 431.1 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003935/0.1247, allocations: 274.8 kB / 431.4 MB, free: 232 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1247, allocations: 0 / 431.4 MB, free: 232 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1247, allocations: 0 / 431.4 MB, free: 232 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.1247, allocations: 0 / 431.4 MB, free: 232 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0008951/0.1256, allocations: 0.526 MB / 431.9 MB, free: 15.65 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.1256, allocations: 12.03 kB / 432 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001795/0.1258, allocations: 36.73 kB / 432 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003713/0.1262, allocations: 252.7 kB / 432.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.1262, allocations: 12.81 kB / 432.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.287e-05/0.1263, allocations: 28.33 kB / 432.3 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003923/0.1267, allocations: 195.6 kB / 432.5 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.1267, allocations: 4 kB / 432.5 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.941e-05/0.1267, allocations: 16 kB / 432.5 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.956e-06/0.1267, allocations: 8 kB / 432.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002887/0.127, allocations: 133.7 kB / 432.6 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.128, allocations: 0.6231 MB / 433.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003319/0.1284, allocations: 170.5 kB / 433.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001776/0.1285, allocations: 94.5 kB / 433.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.1286, allocations: 0 / 433.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.138e-05/0.1286, allocations: 42.66 kB / 433.5 MB, free: 13.93 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 1.292e-06/0.1286, allocations: 3.938 kB / 433.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.00212/0.1307, allocations: 1.069 MB / 434.6 MB, free: 12.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.11e-05/0.1308, allocations: 59.34 kB / 434.7 MB, free: 12.7 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001899/0.131, allocations: 182.3 kB / 434.9 MB, free: 12.51 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/0.131, allocations: 33.64 kB / 434.9 MB, free: 12.47 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.1311, allocations: 144.8 kB / 435 MB, free: 12.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.1312, allocations: 123 kB / 435.2 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.483e-05/0.1313, allocations: 53.7 kB / 435.2 MB, free: 12.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.1315, allocations: 330.8 kB / 435.5 MB, free: 11.81 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.1316, allocations: 67.97 kB / 435.6 MB, free: 11.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/0.1318, allocations: 102.8 kB / 435.7 MB, free: 11.63 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003501/0.1321, allocations: 200.1 kB / 435.9 MB, free: 11.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1321, allocations: 0 / 435.9 MB, free: 11.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005173/0.1326, allocations: 287.3 kB / 436.2 MB, free: 11.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.1327, allocations: 6.344 kB / 436.2 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1327, allocations: 4.062 kB / 436.2 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001843/0.1329, allocations: 44.83 kB / 436.2 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002547/0.1331, allocations: 55.91 kB / 436.3 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001737/0.1348, allocations: 1.74 MB / 438 MB, free: 9.156 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.135, allocations: 8.031 kB / 438 MB, free: 9.148 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.11e-05/0.135, allocations: 15.94 kB / 438 MB, free: 9.133 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00016/0.1351, allocations: 141.8 kB / 438.2 MB, free: 8.984 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.807e-05/0.1352, allocations: 23.8 kB / 438.2 MB, free: 8.961 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.108e-05/0.1353, allocations: 34.64 kB / 438.2 MB, free: 8.926 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.1353, allocations: 4 kB / 438.2 MB, free: 8.922 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.1353, allocations: 0 / 438.2 MB, free: 8.922 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.1353, allocations: 4 kB / 438.2 MB, free: 8.918 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001221/0.1365, allocations: 0.7776 MB / 439 MB, free: 8.062 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1365, allocations: 0 / 439 MB, free: 8.062 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000275/0.1368, allocations: 63.91 kB / 439.1 MB, free: 8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001221/0.1369, allocations: 36.81 kB / 439.1 MB, free: 7.961 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.121e-05/0.1369, allocations: 8 kB / 439.1 MB, free: 7.953 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001415/0.1383, allocations: 1.489 MB / 440.6 MB, free: 6.316 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.1383, allocations: 8.047 kB / 440.6 MB, free: 6.309 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000739/0.1391, allocations: 482.5 kB / 441.1 MB, free: 5.809 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.451e-05/0.1392, allocations: 105 kB / 441.2 MB, free: 5.688 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.923e-05/0.1392, allocations: 11.94 kB / 441.2 MB, free: 5.676 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.1393, allocations: 8 kB / 441.2 MB, free: 5.668 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.541e-05/0.1394, allocations: 24.02 kB / 441.2 MB, free: 5.645 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.1394, allocations: 11.98 kB / 441.3 MB, free: 5.633 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001245/0.1395, allocations: 136.3 kB / 441.4 MB, free: 5.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1395, allocations: 0 / 441.4 MB, free: 5.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003804/0.1399, allocations: 64 kB / 441.5 MB, free: 5.438 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * 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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001535/0.1401, allocations: 111.2 kB / 441.6 MB, free: 5.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006619/0.1407, allocations: 327.2 kB / 441.9 MB, free: 4.988 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1407, allocations: 0 / 441.9 MB, free: 4.988 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003599/0.1411, allocations: 230.8 kB / 442.1 MB, free: 4.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004376/0.1415, allocations: 43.91 kB / 442.1 MB, free: 4.707 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.1428, allocations: 0.7368 MB / 442.9 MB, free: 3.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004171/0.1432, allocations: 0.7603 MB / 443.6 MB, free: 3.145 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.758e-05/0.1433, allocations: 18.3 kB / 443.7 MB, free: 3.129 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.029e-05/0.1434, allocations: 27.44 kB / 443.7 MB, free: 3.105 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1434, allocations: 0 / 443.7 MB, free: 3.105 MB / 366.1 MB Notification: Performance of Templates: time 0.007/0.1504, allocations: 2.767 MB / 446.5 MB, free: 364 kB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.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: 4.545260583981872]