Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.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.001607/0.001607, allocations: 112.9 kB / 18.41 MB, free: 4.637 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.002003/0.002004, allocations: 190.9 kB / 21.35 MB, free: 1.703 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.469/1.469, allocations: 222.9 MB / 247 MB, free: 4.219 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.InitialConditions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m1.s|m1.v|m3.s|m3.v|sd1.s_rel|sd1.v_rel|sd2.s_rel|sd2.v_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions") translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m1.s|m1.v|m3.s|m3.v|sd1.s_rel|sd1.v_rel|sd2.s_rel|sd2.v_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001589/0.001589, allocations: 51.92 kB / 358.7 MB, free: 8.383 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1146, allocations: 49.43 MB / 408.1 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003857/0.1185, allocations: 2.493 MB / 410.6 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005545/0.1191, allocations: 251.1 kB / 410.8 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.1192, allocations: 7.938 kB / 410.8 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001683/0.1194, allocations: 39.58 kB / 410.9 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001693/0.1195, allocations: 91.19 kB / 411 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001973/0.1198, allocations: 67.86 kB / 411 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003767/0.1201, allocations: 322.5 kB / 411.3 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000237/0.1204, allocations: 107 kB / 411.4 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.1205, allocations: 115.6 kB / 411.6 MB, free: 3.414 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002006/0.1207, allocations: 131.4 kB / 411.7 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.308e-05/0.1208, allocations: 24 kB / 411.7 MB, free: 3.262 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.869e-05/0.1208, allocations: 28 kB / 411.7 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.947e-05/0.1209, allocations: 51.78 kB / 411.8 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001628/0.1211, allocations: 151.3 kB / 411.9 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003783/0.1215, allocations: 310.7 kB / 412.2 MB, free: 2.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1215, allocations: 0 / 412.2 MB, free: 2.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1215, allocations: 0 / 412.2 MB, free: 2.73 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.1215, allocations: 4 kB / 412.2 MB, free: 2.727 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0009008/0.1224, allocations: 0.5728 MB / 412.8 MB, free: 2.098 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.1224, allocations: 8.031 kB / 412.8 MB, free: 2.09 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.529e-05/0.1225, allocations: 36.75 kB / 412.9 MB, free: 2.055 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003346/0.1229, allocations: 251.9 kB / 413.1 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/0.1229, allocations: 24.88 kB / 413.1 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.87e-05/0.123, allocations: 28.33 kB / 413.2 MB, free: 1.719 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004526/0.1234, allocations: 251.1 kB / 413.4 MB, free: 1.465 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.1234, allocations: 192 / 413.4 MB, free: 1.465 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.772e-05/0.1235, allocations: 15.94 kB / 413.4 MB, free: 1.449 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.1235, allocations: 8 kB / 413.4 MB, free: 1.441 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003114/0.1238, allocations: 175.9 kB / 413.6 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.125, allocations: 0.7498 MB / 414.4 MB, free: 476 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004404/0.1254, allocations: 277 kB / 414.6 MB, free: 180 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002015/0.1256, allocations: 122.2 kB / 414.7 MB, free: 52 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.1256, allocations: 7.984 kB / 414.7 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.39e-05/0.1257, allocations: 42.47 kB / 414.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 1.653e-06/0.1257, allocations: 0 / 414.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=48): time 0.002888/0.1286, allocations: 1.734 MB / 416.5 MB, free: 14.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.584e-05/0.1287, allocations: 81.11 kB / 416.6 MB, free: 13.99 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/0.1289, allocations: 174.3 kB / 416.8 MB, free: 13.81 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.989e-05/0.1289, allocations: 37.7 kB / 416.8 MB, free: 13.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.1291, allocations: 140.8 kB / 416.9 MB, free: 13.63 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001532/0.1292, allocations: 178.4 kB / 417.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/0.1294, allocations: 82.2 kB / 417.2 MB, free: 13.37 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001924/0.1296, allocations: 334.8 kB / 417.5 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001902/0.1298, allocations: 113.1 kB / 417.6 MB, free: 12.92 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002458/0.13, allocations: 153.5 kB / 417.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004365/0.1305, allocations: 283.6 kB / 418.1 MB, free: 12.47 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1305, allocations: 4 kB / 418.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0006061/0.1311, allocations: 373.9 kB / 418.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.1311, allocations: 8 kB / 418.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.1311, allocations: 3.984 kB / 418.4 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/0.1312, allocations: 4 kB / 418.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000379/0.1315, allocations: 95.91 kB / 418.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.1316, allocations: 4 kB / 418.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.1317, allocations: 11.98 kB / 418.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.3e-05/0.1317, allocations: 16 kB / 418.6 MB, free: 11.95 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 (58): * Single equations (assignments): 58 * 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.0001879/0.1319, allocations: 162.2 kB / 418.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.052e-05/0.132, allocations: 27.8 kB / 418.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.297e-05/0.1321, allocations: 37.88 kB / 418.8 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.1321, allocations: 8 kB / 418.8 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/0.1321, allocations: 0 / 418.8 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.1321, allocations: 3.984 kB / 418.8 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001441/0.1336, allocations: 0.9486 MB / 419.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1336, allocations: 0 / 419.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004047/0.134, allocations: 95.89 kB / 419.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.134, allocations: 4 kB / 419.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.805e-05/0.134, allocations: 11.94 kB / 419.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.163e-06/0.134, allocations: 7.875 kB / 419.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.1341, allocations: 4 kB / 419.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008712/0.1349, allocations: 0.6397 MB / 420.5 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.353e-05/0.135, allocations: 104.9 kB / 420.6 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.193e-05/0.1351, allocations: 8 kB / 420.6 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.1353, allocations: 12 kB / 420.6 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.468e-05/0.1353, allocations: 31.89 kB / 420.7 MB, free: 9.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/0.1354, allocations: 16 kB / 420.7 MB, free: 9.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001307/0.1355, allocations: 140.3 kB / 420.8 MB, free: 9.594 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1355, allocations: 0 / 420.8 MB, free: 9.594 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003725/0.1359, allocations: 80 kB / 420.9 MB, free: 9.516 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (m1.s,m1.v,sd1.s_rel,sd1.v_rel,sd2.s_rel,sd2.v_rel,m4.s,m4.v) * 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 (48): * Single equations (assignments): 48 * 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.0001495/0.136, allocations: 111.1 kB / 421 MB, free: 9.395 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005262/0.1366, allocations: 294.7 kB / 421.3 MB, free: 9.105 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/0.1366, allocations: 0 / 421.3 MB, free: 9.105 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002259/0.1368, allocations: 156 kB / 421.5 MB, free: 8.953 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006007/0.1374, allocations: 68.11 kB / 421.5 MB, free: 8.887 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001607/0.139, allocations: 1.041 MB / 422.6 MB, free: 7.809 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004548/0.1395, allocations: 0.7802 MB / 423.3 MB, free: 7 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.923e-05/0.1396, allocations: 31.44 kB / 423.4 MB, free: 6.969 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1396, allocations: 0 / 423.4 MB, free: 6.969 MB / 350.1 MB Notification: Performance of Templates: time 0.006394/0.146, allocations: 3.714 MB / 427.1 MB, free: 3.258 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.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.470661476952955]