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.001288/0.001288, allocations: 85.17 kB / 21.5 MB, free: 2.992 MB / 18.57 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.0009025/0.0009025, allocations: 144.2 kB / 24.89 MB, free: 8.742 MB / 18.57 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 0.85/0.85, allocations: 173.4 MB / 201.5 MB, free: 8.27 MB / 186.7 MB " [Timeout remaining time 179] 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 1.222e-06/1.222e-06, allocations: 0 / 268.5 MB, free: 9.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.038e-05/1.16e-05, allocations: 5.406 kB / 268.5 MB, free: 9.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.002108/0.002119, allocations: 2.442 MB / 270.9 MB, free: 7.363 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004244/0.002544, allocations: 274.2 kB / 271.2 MB, free: 7.098 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.522e-05/0.002629, allocations: 4.688 kB / 271.2 MB, free: 7.094 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001168/0.002746, allocations: 51.44 kB / 271.2 MB, free: 7.043 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.002864, allocations: 93.98 kB / 271.3 MB, free: 6.953 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001259/0.00299, allocations: 68.36 kB / 271.4 MB, free: 6.887 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002056/0.003196, allocations: 334.2 kB / 271.7 MB, free: 6.559 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.003312, allocations: 70.95 kB / 271.8 MB, free: 6.484 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001265/0.003438, allocations: 183.6 kB / 272 MB, free: 6.305 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.003561, allocations: 96.67 kB / 272.1 MB, free: 6.211 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.065e-05/0.003592, allocations: 27.94 kB / 272.1 MB, free: 6.184 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.665e-05/0.003618, allocations: 29.41 kB / 272.1 MB, free: 6.156 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.962e-05/0.003658, allocations: 63.73 kB / 272.2 MB, free: 6.094 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.523e-05/0.003723, allocations: 95.81 kB / 272.3 MB, free: 6 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001733/0.003896, allocations: 207.2 kB / 272.5 MB, free: 5.797 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.493e-06/0.003898, allocations: 0.7188 kB / 272.5 MB, free: 5.797 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.003898, allocations: 0 / 272.5 MB, free: 5.797 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.966e-06/0.003901, allocations: 5 kB / 272.5 MB, free: 5.793 MB / 250.7 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.000465/0.004366, allocations: 485.9 kB / 272.9 MB, free: 5.293 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.947e-05/0.004396, allocations: 12.03 kB / 273 MB, free: 5.281 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.871e-05/0.004445, allocations: 40.91 kB / 273 MB, free: 5.242 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.0046, allocations: 173.9 kB / 273.2 MB, free: 5.047 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.004615, allocations: 21.03 kB / 273.2 MB, free: 5.027 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.456e-05/0.004649, allocations: 32.33 kB / 273.2 MB, free: 4.996 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.004814, allocations: 200.2 kB / 273.4 MB, free: 4.793 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.004825, allocations: 4.188 kB / 273.4 MB, free: 4.789 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.004839, allocations: 8.375 kB / 273.4 MB, free: 4.781 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.004845, allocations: 8.375 kB / 273.4 MB, free: 4.773 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.281e-05/0.004938, allocations: 91.84 kB / 273.5 MB, free: 4.684 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004953/0.005433, allocations: 495.9 kB / 274 MB, free: 4.18 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.005614, allocations: 188.6 kB / 274.2 MB, free: 3.98 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.918e-05/0.005673, allocations: 61.7 kB / 274.3 MB, free: 3.914 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.005686, allocations: 8 kB / 274.3 MB, free: 3.906 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.005706, allocations: 46.44 kB / 274.3 MB, free: 3.852 MB / 250.7 MB Notification: Performance of pre-optimization done (n=36): time 1.192e-06/0.005707, allocations: 0 / 274.3 MB, free: 3.852 MB / 250.7 MB Notification: Performance of matching and sorting (n=48): time 0.001292/0.006999, allocations: 1.174 MB / 275.5 MB, free: 2.586 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.007035, allocations: 81.11 kB / 275.6 MB, free: 2.488 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.725e-05/0.007122, allocations: 179 kB / 275.7 MB, free: 2.301 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.007139, allocations: 37.7 kB / 275.8 MB, free: 2.258 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.009e-05/0.007189, allocations: 128.8 kB / 275.9 MB, free: 2.129 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.747e-05/0.007267, allocations: 178.4 kB / 276.1 MB, free: 1.953 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.643e-05/0.007333, allocations: 98.03 kB / 276.2 MB, free: 1.852 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.054e-05/0.007424, allocations: 334.8 kB / 276.5 MB, free: 1.516 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.595e-05/0.00747, allocations: 40.98 kB / 276.5 MB, free: 1.477 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.713e-05/0.007547, allocations: 92.83 kB / 276.6 MB, free: 1.371 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.007693, allocations: 175.7 kB / 276.8 MB, free: 1.191 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.007695, allocations: 0 / 276.8 MB, free: 1.191 MB / 250.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0001782/0.007873, allocations: 210.2 kB / 277 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.007883, allocations: 4 kB / 277 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.007888, allocations: 4.062 kB / 277 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.007899, allocations: 4 kB / 277 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001936/0.008093, allocations: 103.8 kB / 277.1 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.008098, allocations: 7.938 kB / 277.1 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.165e-05/0.00815, allocations: 16 kB / 277.1 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.008161, allocations: 12 kB / 277.2 MB, free: 0.832 MB / 250.7 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 7.071e-05/0.008231, allocations: 125.8 kB / 277.3 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.161e-05/0.008273, allocations: 35.97 kB / 277.3 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.078e-05/0.008314, allocations: 37.95 kB / 277.3 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.00832, allocations: 7.938 kB / 277.4 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.008324, allocations: 8 kB / 277.4 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.008329, allocations: 7.875 kB / 277.4 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005248/0.008854, allocations: 0.5905 MB / 278 MB, free: 15.97 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.008856, allocations: 0 / 278 MB, free: 15.97 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002066/0.009062, allocations: 95.84 kB / 278.1 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.009066, allocations: 4 kB / 278.1 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.009078, allocations: 12 kB / 278.1 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.009081, allocations: 4.047 kB / 278.1 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.009082, allocations: 8 kB / 278.1 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002958/0.009378, allocations: 473.5 kB / 278.5 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.867e-05/0.009396, allocations: 19.86 kB / 278.6 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.009416, allocations: 8 kB / 278.6 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.867e-05/0.009494, allocations: 8 kB / 278.6 MB, free: 15.33 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.49e-05/0.009519, allocations: 27.95 kB / 278.6 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.009529, allocations: 11.98 kB / 278.6 MB, free: 15.29 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.779e-05/0.009557, allocations: 40.81 kB / 278.7 MB, free: 15.25 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009557, allocations: 0 / 278.7 MB, free: 15.25 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001983/0.009755, allocations: 83.94 kB / 278.7 MB, free: 15.17 MB / 266.7 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 7.559e-05/0.009831, allocations: 96.3 kB / 278.8 MB, free: 15.07 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000175/0.01001, allocations: 181.9 kB / 279 MB, free: 14.89 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.01001, allocations: 0 / 279 MB, free: 14.89 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.851e-05/0.01009, allocations: 116.2 kB / 279.1 MB, free: 14.77 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.01036, allocations: 80.12 kB / 279.2 MB, free: 14.7 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006143/0.01098, allocations: 0.6557 MB / 279.9 MB, free: 14.01 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.445e-05/0.01103, allocations: 97.61 kB / 280 MB, free: 13.89 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.59e-05/0.01111, allocations: 34.95 kB / 280 MB, free: 13.86 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.01123, allocations: 111.3 kB / 280.1 MB, free: 13.75 MB / 266.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01123, allocations: 0 / 280.1 MB, free: 13.75 MB / 266.7 MB Notification: Performance of Templates: time 0.004452/0.01568, allocations: 3.323 MB / 283.4 MB, free: 10.49 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6066022790037096]