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.001013/0.001013, allocations: 80.62 kB / 22.21 MB, free: 2.293 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.001098/0.001098, allocations: 150.8 kB / 25.59 MB, free: 8.914 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.9233/0.9233, allocations: 173.4 MB / 202.3 MB, free: 8.309 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.082e-06/1.082e-06, allocations: 0 / 269.2 MB, free: 9.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.031e-05/1.139e-05, allocations: 3.188 kB / 269.2 MB, free: 9.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.002231/0.002242, allocations: 2.443 MB / 271.6 MB, free: 7.355 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003656/0.002608, allocations: 263 kB / 271.9 MB, free: 7.102 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.796e-05/0.002696, allocations: 9.312 kB / 271.9 MB, free: 7.094 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001126/0.002809, allocations: 43.58 kB / 271.9 MB, free: 7.051 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001131/0.002922, allocations: 96.56 kB / 272 MB, free: 6.957 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000124/0.003046, allocations: 64.91 kB / 272.1 MB, free: 6.895 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002058/0.003251, allocations: 342.1 kB / 272.4 MB, free: 6.559 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.003382, allocations: 68.33 kB / 272.5 MB, free: 6.488 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.003512, allocations: 187.6 kB / 272.7 MB, free: 6.305 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.003626, allocations: 93.66 kB / 272.8 MB, free: 6.215 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.895e-05/0.003655, allocations: 24 kB / 272.8 MB, free: 6.191 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.458e-05/0.003679, allocations: 28 kB / 272.8 MB, free: 6.164 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.651e-05/0.003716, allocations: 55.77 kB / 272.9 MB, free: 6.109 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.565e-05/0.003782, allocations: 103.7 kB / 273 MB, free: 6.008 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001765/0.003958, allocations: 208.6 kB / 273.2 MB, free: 5.805 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.403e-06/0.003959, allocations: 0 / 273.2 MB, free: 5.805 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.41e-07/0.00396, allocations: 4 kB / 273.2 MB, free: 5.801 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.457e-06/0.003963, allocations: 0.625 kB / 273.2 MB, free: 5.801 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.0004871/0.00445, allocations: 0.6036 MB / 273.8 MB, free: 5.16 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.945e-05/0.00448, allocations: 16.03 kB / 273.8 MB, free: 5.145 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.456e-05/0.004534, allocations: 52.75 kB / 273.9 MB, free: 5.094 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.004701, allocations: 188.7 kB / 274 MB, free: 4.883 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.004716, allocations: 21.03 kB / 274.1 MB, free: 4.859 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.324e-05/0.004749, allocations: 32.31 kB / 274.1 MB, free: 4.828 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.00493, allocations: 198 kB / 274.3 MB, free: 4.625 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.004942, allocations: 192 / 274.3 MB, free: 4.625 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.004957, allocations: 12.38 kB / 274.3 MB, free: 4.613 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.004962, allocations: 4.375 kB / 274.3 MB, free: 4.609 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.005066, allocations: 95.75 kB / 274.4 MB, free: 4.516 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005402/0.005607, allocations: 0.6627 MB / 275.1 MB, free: 3.82 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.005801, allocations: 211.9 kB / 275.3 MB, free: 3.59 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.611e-05/0.005867, allocations: 75.33 kB / 275.3 MB, free: 3.508 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.219e-05/0.005879, allocations: 11.94 kB / 275.3 MB, free: 3.496 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/0.005897, allocations: 37.38 kB / 275.4 MB, free: 3.449 MB / 250.7 MB Notification: Performance of pre-optimization done (n=36): time 1.293e-06/0.005899, allocations: 0 / 275.4 MB, free: 3.449 MB / 250.7 MB Notification: Performance of matching and sorting (n=48): time 0.001203/0.007101, allocations: 1.154 MB / 276.5 MB, free: 2.188 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.007138, allocations: 88.98 kB / 276.6 MB, free: 2.082 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.875e-05/0.007236, allocations: 226.6 kB / 276.8 MB, free: 1.844 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.007255, allocations: 37.7 kB / 276.9 MB, free: 1.801 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.734e-05/0.007332, allocations: 195.5 kB / 277.1 MB, free: 1.605 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.098e-05/0.007413, allocations: 182.4 kB / 277.2 MB, free: 1.426 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.829e-05/0.007481, allocations: 79.81 kB / 277.3 MB, free: 1.34 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.007594, allocations: 0.5157 MB / 277.8 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.899e-05/0.007643, allocations: 40.97 kB / 277.9 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.74e-05/0.007731, allocations: 116.1 kB / 278 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.007883, allocations: 183.2 kB / 278.2 MB, free: 460 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.007884, allocations: 0 / 278.2 MB, free: 460 kB / 250.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0002247/0.008109, allocations: 270.3 kB / 278.4 MB, free: 184 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.00812, allocations: 6.656 kB / 278.4 MB, free: 180 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.008125, allocations: 0 / 278.4 MB, free: 180 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.008134, allocations: 7.938 kB / 278.5 MB, free: 172 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002109/0.008345, allocations: 107.8 kB / 278.6 MB, free: 64 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.00835, allocations: 7.938 kB / 278.6 MB, free: 56 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.412e-05/0.008404, allocations: 12 kB / 278.6 MB, free: 44 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.008416, allocations: 8 kB / 278.6 MB, free: 36 kB / 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 9.44e-05/0.00851, allocations: 180.5 kB / 278.8 MB, free: 15.85 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.429e-05/0.008564, allocations: 51.88 kB / 278.8 MB, free: 15.8 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.193e-05/0.008616, allocations: 37.95 kB / 278.9 MB, free: 15.76 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.008619, allocations: 4 kB / 278.9 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.008622, allocations: 3.938 kB / 278.9 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.008627, allocations: 0 / 278.9 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006584/0.009286, allocations: 0.7981 MB / 279.7 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.009288, allocations: 3.984 kB / 279.7 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002179/0.009506, allocations: 87.91 kB / 279.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.009511, allocations: 8.062 kB / 279.8 MB, free: 14.81 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.009526, allocations: 12 kB / 279.8 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.838e-06/0.00953, allocations: 7.984 kB / 279.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.009532, allocations: 3.938 kB / 279.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003683/0.009901, allocations: 0.6001 MB / 280.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.125e-05/0.009922, allocations: 23.81 kB / 280.4 MB, free: 14.13 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/0.009944, allocations: 12 kB / 280.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.25e-05/0.01003, allocations: 8 kB / 280.4 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.942e-05/0.01006, allocations: 27.94 kB / 280.4 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.01007, allocations: 16 kB / 280.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.107e-05/0.01012, allocations: 159.1 kB / 280.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01012, allocations: 3.938 kB / 280.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002285/0.01035, allocations: 76 kB / 280.7 MB, free: 13.84 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.674e-05/0.01042, allocations: 115.1 kB / 280.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001979/0.01062, allocations: 204 kB / 281 MB, free: 13.51 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01062, allocations: 0 / 281 MB, free: 13.51 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.04e-05/0.01071, allocations: 119.2 kB / 281.1 MB, free: 13.39 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.01105, allocations: 83.5 kB / 281.2 MB, free: 13.31 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000834/0.01189, allocations: 0.8021 MB / 282 MB, free: 12.47 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.036e-05/0.01195, allocations: 105.5 kB / 282.1 MB, free: 12.35 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.234e-05/0.01203, allocations: 38.94 kB / 282.1 MB, free: 12.31 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/0.01217, allocations: 134.2 kB / 282.3 MB, free: 12.18 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01217, allocations: 0 / 282.3 MB, free: 12.18 MB / 266.7 MB Notification: Performance of Templates: time 0.004845/0.01702, allocations: 3.384 MB / 285.7 MB, free: 8.84 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.7622681776992977]