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.00136/0.00136, allocations: 107.5 kB / 20.44 MB, free: 1.066 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.001434/0.001434, allocations: 189.5 kB / 23.7 MB, free: 4.195 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.458/1.458, allocations: 225.7 MB / 252.5 MB, free: 12.86 MB / 206.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.001698/0.001698, allocations: 43.92 kB / 370.9 MB, free: 9.223 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2669/0.2686, allocations: 52.19 MB / 423.1 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003689/0.2723, allocations: 2.307 MB / 425.4 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005767/0.2729, allocations: 275 kB / 425.6 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.273, allocations: 4 kB / 425.6 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001754/0.2732, allocations: 43.52 kB / 425.7 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001793/0.2734, allocations: 95.19 kB / 425.8 MB, free: 11.76 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000203/0.2736, allocations: 63.91 kB / 425.8 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003824/0.274, allocations: 314.5 kB / 426.1 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000213/0.2742, allocations: 79.36 kB / 426.2 MB, free: 11.31 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001444/0.2743, allocations: 119.6 kB / 426.3 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001988/0.2745, allocations: 111.5 kB / 426.4 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.119e-05/0.2746, allocations: 27.94 kB / 426.5 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.384e-05/0.2746, allocations: 24 kB / 426.5 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.788e-05/0.2747, allocations: 55.83 kB / 426.5 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001339/0.2748, allocations: 131.4 kB / 426.7 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003604/0.2752, allocations: 321.1 kB / 427 MB, free: 10.54 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2752, allocations: 0 / 427 MB, free: 10.54 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2752, allocations: 0 / 427 MB, free: 10.54 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.2752, allocations: 0 / 427 MB, free: 10.54 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.0008106/0.276, allocations: 0.4937 MB / 427.5 MB, free: 10.02 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.276, allocations: 8.031 kB / 427.5 MB, free: 10.01 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.035e-05/0.2761, allocations: 32.75 kB / 427.5 MB, free: 9.977 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003105/0.2764, allocations: 194 kB / 427.7 MB, free: 9.762 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.2764, allocations: 17.03 kB / 427.7 MB, free: 9.742 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.703e-05/0.2765, allocations: 32.33 kB / 427.8 MB, free: 9.711 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000419/0.2769, allocations: 264.3 kB / 428 MB, free: 9.445 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.2769, allocations: 192 / 428 MB, free: 9.445 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.744e-05/0.277, allocations: 15.94 kB / 428 MB, free: 9.43 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.277, allocations: 4 kB / 428 MB, free: 9.426 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003039/0.2773, allocations: 175.9 kB / 428.2 MB, free: 9.254 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009693/0.2782, allocations: 0.6053 MB / 428.8 MB, free: 8.613 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004201/0.2787, allocations: 257 kB / 429.1 MB, free: 8.344 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001768/0.2788, allocations: 117.7 kB / 429.2 MB, free: 8.223 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.2789, allocations: 7.938 kB / 429.2 MB, free: 8.215 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.2789, allocations: 35.19 kB / 429.2 MB, free: 8.172 MB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 1.613e-06/0.2789, allocations: 7.938 kB / 429.2 MB, free: 8.164 MB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.002521/0.2814, allocations: 1.419 MB / 430.6 MB, free: 6.648 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.966e-05/0.2815, allocations: 89.05 kB / 430.7 MB, free: 6.543 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.2816, allocations: 167.3 kB / 430.9 MB, free: 6.367 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.147e-05/0.2817, allocations: 33.7 kB / 430.9 MB, free: 6.328 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.2818, allocations: 140.8 kB / 431.1 MB, free: 6.188 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001392/0.2819, allocations: 186.4 kB / 431.3 MB, free: 6.004 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.282, allocations: 78.19 kB / 431.3 MB, free: 5.922 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.2822, allocations: 334.8 kB / 431.7 MB, free: 5.586 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/0.2824, allocations: 105 kB / 431.8 MB, free: 5.48 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000227/0.2826, allocations: 156.8 kB / 431.9 MB, free: 5.312 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000431/0.283, allocations: 283.2 kB / 432.2 MB, free: 5.027 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.283, allocations: 4 kB / 432.2 MB, free: 5.023 MB / 334.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005411/0.2836, allocations: 366.1 kB / 432.5 MB, free: 4.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.2836, allocations: 7.938 kB / 432.6 MB, free: 4.652 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.2836, allocations: 0 / 432.6 MB, free: 4.652 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.831e-05/0.2836, allocations: 4 kB / 432.6 MB, free: 4.648 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003846/0.284, allocations: 103.8 kB / 432.7 MB, free: 4.547 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.284, allocations: 4 kB / 432.7 MB, free: 4.543 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.2841, allocations: 12 kB / 432.7 MB, free: 4.531 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.397e-05/0.2842, allocations: 12 kB / 432.7 MB, free: 4.52 MB / 334.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.0001619/0.2843, allocations: 153.8 kB / 432.8 MB, free: 4.359 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.502e-05/0.2844, allocations: 35.75 kB / 432.9 MB, free: 4.324 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.871e-05/0.2845, allocations: 37.95 kB / 432.9 MB, free: 4.285 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.2845, allocations: 4 kB / 432.9 MB, free: 4.281 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.2845, allocations: 0 / 432.9 MB, free: 4.281 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.2845, allocations: 7.922 kB / 432.9 MB, free: 4.273 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001297/0.2858, allocations: 0.8291 MB / 433.8 MB, free: 3.402 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.2858, allocations: 4 kB / 433.8 MB, free: 3.398 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000418/0.2862, allocations: 99.95 kB / 433.9 MB, free: 3.301 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.2862, allocations: 0 / 433.9 MB, free: 3.301 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.717e-05/0.2863, allocations: 12 kB / 433.9 MB, free: 3.289 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.503e-06/0.2863, allocations: 7.984 kB / 433.9 MB, free: 3.281 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.2863, allocations: 3.938 kB / 433.9 MB, free: 3.277 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000846/0.2871, allocations: 0.6394 MB / 434.5 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.891e-05/0.2872, allocations: 19.86 kB / 434.5 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4e-05/0.2872, allocations: 12 kB / 434.5 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.2874, allocations: 11.94 kB / 434.6 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.806e-05/0.2874, allocations: 31.94 kB / 434.6 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.136e-05/0.2874, allocations: 20 kB / 434.6 MB, free: 2.52 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001023/0.2876, allocations: 124.8 kB / 434.7 MB, free: 2.398 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2876, allocations: 0 / 434.7 MB, free: 2.398 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003813/0.2879, allocations: 80 kB / 434.8 MB, free: 2.32 MB / 334.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.000136/0.2881, allocations: 111.1 kB / 434.9 MB, free: 2.199 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000494/0.2886, allocations: 278.6 kB / 435.2 MB, free: 1.926 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2886, allocations: 0 / 435.2 MB, free: 1.926 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002258/0.2888, allocations: 150.6 kB / 435.3 MB, free: 1.781 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005649/0.2894, allocations: 65.86 kB / 435.4 MB, free: 1.723 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001693/0.291, allocations: 1.009 MB / 436.4 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001747/0.2912, allocations: 172.8 kB / 436.6 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001275/0.2914, allocations: 38.89 kB / 436.6 MB, free: 460 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.373e-05/0.2914, allocations: 27.44 kB / 436.6 MB, free: 432 kB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2914, allocations: 0 / 436.6 MB, free: 432 kB / 334.1 MB Notification: Performance of Templates: time 0.007871/0.2993, allocations: 3.357 MB / 440 MB, free: 13.12 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 4.466317506507039]