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.0009822/0.0009822, allocations: 83.89 kB / 21.19 MB, free: 3.379 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.001026/0.001026, allocations: 145.1 kB / 24.54 MB, free: 24 kB / 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.968/0.968, allocations: 173.3 MB / 201.1 MB, free: 9.297 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.874e-06/1.874e-06, allocations: 0 / 268 MB, free: 6.422 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.994e-05/3.181e-05, allocations: 10.25 kB / 268 MB, free: 6.41 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.002916/0.002948, allocations: 2.483 MB / 270.5 MB, free: 3.91 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007088/0.003656, allocations: 251.1 kB / 270.7 MB, free: 3.664 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001454/0.003802, allocations: 7.938 kB / 270.7 MB, free: 3.656 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001357/0.003938, allocations: 39.58 kB / 270.8 MB, free: 3.617 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001837/0.004121, allocations: 103.1 kB / 270.9 MB, free: 3.516 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002444/0.004366, allocations: 59.91 kB / 270.9 MB, free: 3.457 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003527/0.004718, allocations: 346.1 kB / 271.2 MB, free: 3.117 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001939/0.004912, allocations: 67.64 kB / 271.3 MB, free: 3.047 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002523/0.005164, allocations: 179.7 kB / 271.5 MB, free: 2.871 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.005317, allocations: 95.73 kB / 271.6 MB, free: 2.777 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.059e-05/0.005358, allocations: 28 kB / 271.6 MB, free: 2.75 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.899e-05/0.005397, allocations: 27.94 kB / 271.6 MB, free: 2.723 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.68e-05/0.005444, allocations: 51.83 kB / 271.7 MB, free: 2.672 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.194e-05/0.005536, allocations: 107.7 kB / 271.8 MB, free: 2.566 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002854/0.005821, allocations: 215.2 kB / 272 MB, free: 2.355 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.005824, allocations: 4 kB / 272 MB, free: 2.352 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.005826, allocations: 0 / 272 MB, free: 2.352 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.005834, allocations: 0 / 272 MB, free: 2.352 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.0006932/0.006527, allocations: 0.5936 MB / 272.6 MB, free: 1.719 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.006573, allocations: 12.92 kB / 272.6 MB, free: 1.707 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.373e-05/0.006667, allocations: 56.73 kB / 272.7 MB, free: 1.652 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002825/0.00695, allocations: 196.1 kB / 272.9 MB, free: 1.434 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.006974, allocations: 21.03 kB / 272.9 MB, free: 1.41 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.805e-05/0.007032, allocations: 28.33 kB / 272.9 MB, free: 1.383 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003126/0.007345, allocations: 214 kB / 273.1 MB, free: 1.16 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.007362, allocations: 192 / 273.1 MB, free: 1.16 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.498e-05/0.007387, allocations: 16.31 kB / 273.1 MB, free: 1.145 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.0074, allocations: 4.375 kB / 273.1 MB, free: 1.141 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001779/0.007578, allocations: 119.8 kB / 273.3 MB, free: 1.023 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007854/0.008363, allocations: 0.6857 MB / 273.9 MB, free: 304 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002804/0.008644, allocations: 229.8 kB / 274.2 MB, free: 48 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.008761, allocations: 89.98 kB / 274.3 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.008778, allocations: 4 kB / 274.3 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.008808, allocations: 41.39 kB / 274.3 MB, free: 15.9 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 1.502e-06/0.008809, allocations: 0 / 274.3 MB, free: 15.9 MB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.001671/0.01048, allocations: 1.286 MB / 275.6 MB, free: 14.5 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.01052, allocations: 85.11 kB / 275.7 MB, free: 14.4 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.01065, allocations: 218.1 kB / 275.9 MB, free: 14.17 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.01067, allocations: 41.7 kB / 275.9 MB, free: 14.12 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.784e-05/0.01076, allocations: 187.5 kB / 276.1 MB, free: 13.94 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.009e-05/0.01085, allocations: 182.4 kB / 276.3 MB, free: 13.76 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.56e-05/0.01093, allocations: 83.84 kB / 276.4 MB, free: 13.67 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.01104, allocations: 0.504 MB / 276.9 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.817e-05/0.01113, allocations: 60.97 kB / 276.9 MB, free: 13.09 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.01124, allocations: 128.1 kB / 277.1 MB, free: 12.95 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002157/0.01146, allocations: 209.3 kB / 277.3 MB, free: 12.73 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.01146, allocations: 0 / 277.3 MB, free: 12.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.000324/0.01178, allocations: 310.2 kB / 277.6 MB, free: 12.42 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.0118, allocations: 8 kB / 277.6 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.0118, allocations: 0 / 277.6 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.01182, allocations: 7.938 kB / 277.6 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.01204, allocations: 99.89 kB / 277.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.01205, allocations: 4 kB / 277.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.248e-05/0.0121, allocations: 8 kB / 277.7 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.01211, allocations: 16 kB / 277.7 MB, free: 12.28 MB / 266.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 9.052e-05/0.01221, allocations: 180.5 kB / 277.9 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.128e-05/0.01226, allocations: 47.91 kB / 277.9 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.996e-05/0.01231, allocations: 41.95 kB / 278 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.01231, allocations: 11.94 kB / 278 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.01232, allocations: 0 / 278 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.01232, allocations: 3.984 kB / 278 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007481/0.01307, allocations: 0.8492 MB / 278.8 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.01308, allocations: 7.984 kB / 278.8 MB, free: 11.08 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002185/0.0133, allocations: 91.91 kB / 278.9 MB, free: 10.99 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.0133, allocations: 4.062 kB / 278.9 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.01332, allocations: 12 kB / 278.9 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.01332, allocations: 11.92 kB / 279 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.01332, allocations: 0 / 279 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004933/0.01381, allocations: 0.6352 MB / 279.6 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.466e-05/0.01384, allocations: 23.86 kB / 279.6 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/0.01386, allocations: 8 kB / 279.6 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.24e-05/0.01395, allocations: 12 kB / 279.6 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.815e-05/0.01398, allocations: 39.81 kB / 279.7 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.01399, allocations: 12 kB / 279.7 MB, free: 10.2 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.432e-05/0.01406, allocations: 160.2 kB / 279.8 MB, free: 10.04 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.01406, allocations: 4 kB / 279.8 MB, free: 10.04 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002509/0.01431, allocations: 80 kB / 279.9 MB, free: 9.961 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 0.0001011/0.01441, allocations: 107.1 kB / 280 MB, free: 9.844 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002934/0.0147, allocations: 236 kB / 280.3 MB, free: 9.609 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.01471, allocations: 0 / 280.3 MB, free: 9.609 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.01483, allocations: 128.6 kB / 280.4 MB, free: 9.48 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.01521, allocations: 74.89 kB / 280.5 MB, free: 9.41 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009594/0.01617, allocations: 0.8162 MB / 281.3 MB, free: 8.559 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.117e-05/0.01624, allocations: 97.61 kB / 281.4 MB, free: 8.441 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.23e-05/0.01633, allocations: 34.95 kB / 281.4 MB, free: 8.406 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.966e-05/0.01639, allocations: 28.5 kB / 281.4 MB, free: 8.379 MB / 266.7 MB Notification: Performance of SimCode: time 8.51e-07/0.01639, allocations: 0 / 281.4 MB, free: 8.379 MB / 266.7 MB Notification: Performance of Templates: time 0.006332/0.02272, allocations: 3.035 MB / 284.5 MB, free: 5.383 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.9966702591627836]