Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009857/0.0009857, allocations: 165 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9042/0.9042, allocations: 177.2 MB / 205 MB, free: 5.301 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 273 MB, free: 1.414 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.468e-05/1.609e-05, allocations: 2.312 kB / 273 MB, free: 1.41 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.00251/0.002526, allocations: 2.497 MB / 275.5 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004785/0.003004, allocations: 255.1 kB / 275.7 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.743e-05/0.003102, allocations: 7.938 kB / 275.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001245/0.003226, allocations: 43.58 kB / 275.8 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001363/0.003363, allocations: 103.1 kB / 275.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001509/0.003513, allocations: 67.84 kB / 275.9 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000224/0.003737, allocations: 334.2 kB / 276.3 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.003871, allocations: 68.48 kB / 276.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001413/0.004013, allocations: 187.6 kB / 276.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.004129, allocations: 99.69 kB / 276.6 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.255e-05/0.004162, allocations: 28 kB / 276.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.037e-05/0.004192, allocations: 24 kB / 276.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.833e-05/0.00423, allocations: 51.83 kB / 276.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.252e-05/0.004303, allocations: 107.7 kB / 276.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001876/0.004491, allocations: 207.2 kB / 277 MB, free: 13.35 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.004493, allocations: 0 / 277 MB, free: 13.35 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.004494, allocations: 0 / 277 MB, free: 13.35 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.908e-06/0.004498, allocations: 0 / 277 MB, free: 13.35 MB / 266.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.000512/0.00501, allocations: 0.5936 MB / 277.6 MB, free: 12.71 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.005042, allocations: 12.02 kB / 277.6 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.444e-05/0.005106, allocations: 52.75 kB / 277.7 MB, free: 12.65 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.0053, allocations: 192.1 kB / 277.9 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.005315, allocations: 21.03 kB / 277.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.591e-05/0.005351, allocations: 28.38 kB / 277.9 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002399/0.005591, allocations: 217.9 kB / 278.1 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.005603, allocations: 4.188 kB / 278.1 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.00562, allocations: 12.38 kB / 278.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.976e-06/0.005629, allocations: 8.375 kB / 278.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001526/0.005782, allocations: 115.8 kB / 278.3 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006279/0.00641, allocations: 0.6934 MB / 278.9 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002402/0.00665, allocations: 228.2 kB / 279.2 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.257e-05/0.006743, allocations: 91.95 kB / 279.3 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.006756, allocations: 11.91 kB / 279.3 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.846e-05/0.006775, allocations: 37.33 kB / 279.3 MB, free: 10.89 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 1.432e-06/0.006776, allocations: 0 / 279.3 MB, free: 10.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.001464/0.008241, allocations: 1.283 MB / 280.6 MB, free: 9.496 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.008273, allocations: 85.11 kB / 280.7 MB, free: 9.395 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003527/0.008626, allocations: 221.9 kB / 280.9 MB, free: 9.16 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.008641, allocations: 33.64 kB / 280.9 MB, free: 9.121 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.048e-05/0.008712, allocations: 195.5 kB / 281.1 MB, free: 8.926 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.027e-05/0.008792, allocations: 178.4 kB / 281.3 MB, free: 8.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.779e-05/0.00886, allocations: 79.84 kB / 281.4 MB, free: 8.664 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.008967, allocations: 0.5079 MB / 281.9 MB, free: 8.145 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.421e-05/0.009051, allocations: 60.95 kB / 281.9 MB, free: 8.082 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.009168, allocations: 128.2 kB / 282.1 MB, free: 7.938 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002189/0.009387, allocations: 213.3 kB / 282.3 MB, free: 7.715 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.009389, allocations: 0 / 282.3 MB, free: 7.715 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003139/0.009703, allocations: 302.2 kB / 282.6 MB, free: 7.414 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.009716, allocations: 10.5 kB / 282.6 MB, free: 7.406 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.009721, allocations: 0 / 282.6 MB, free: 7.406 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.009734, allocations: 7.938 kB / 282.6 MB, free: 7.398 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/0.009956, allocations: 99.89 kB / 282.7 MB, free: 7.301 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.009963, allocations: 4.062 kB / 282.7 MB, free: 7.297 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.424e-05/0.01002, allocations: 12 kB / 282.7 MB, free: 7.285 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.01003, allocations: 12 kB / 282.7 MB, free: 7.273 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.606e-05/0.01013, allocations: 188.4 kB / 282.9 MB, free: 7.078 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.93e-05/0.01018, allocations: 39.84 kB / 282.9 MB, free: 7.039 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.546e-05/0.01022, allocations: 37.97 kB / 283 MB, free: 7 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.01023, allocations: 11.94 kB / 283 MB, free: 6.988 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.01023, allocations: 0 / 283 MB, free: 6.988 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.01024, allocations: 3.984 kB / 283 MB, free: 6.984 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000693/0.01093, allocations: 0.8645 MB / 283.8 MB, free: 6.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.01093, allocations: 0 / 283.8 MB, free: 6.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002307/0.01116, allocations: 95.84 kB / 283.9 MB, free: 5.977 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.01117, allocations: 4 kB / 283.9 MB, free: 5.973 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.233e-05/0.01119, allocations: 11.98 kB / 284 MB, free: 5.961 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.01119, allocations: 0 / 284 MB, free: 5.961 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.01119, allocations: 4 kB / 284 MB, free: 5.957 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004498/0.01164, allocations: 0.6353 MB / 284.6 MB, free: 5.293 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.046e-05/0.01166, allocations: 23.92 kB / 284.6 MB, free: 5.27 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.421e-05/0.01169, allocations: 15.94 kB / 284.6 MB, free: 5.254 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.303e-05/0.01177, allocations: 8 kB / 284.6 MB, free: 5.246 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.418e-05/0.01181, allocations: 39.81 kB / 284.7 MB, free: 5.207 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.01182, allocations: 12 kB / 284.7 MB, free: 5.195 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.729e-05/0.01187, allocations: 164.2 kB / 284.9 MB, free: 5.035 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01187, allocations: 0 / 284.9 MB, free: 5.035 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002298/0.0121, allocations: 76 kB / 284.9 MB, free: 4.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 7.051e-05/0.01217, allocations: 111.2 kB / 285 MB, free: 4.844 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002623/0.01244, allocations: 227.8 kB / 285.3 MB, free: 4.613 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.01244, allocations: 0 / 285.3 MB, free: 4.613 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.01255, allocations: 135.3 kB / 285.4 MB, free: 4.48 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003511/0.0129, allocations: 64.02 kB / 285.5 MB, free: 4.418 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007986/0.0137, allocations: 0.8258 MB / 286.3 MB, free: 3.551 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.915e-05/0.01376, allocations: 97.61 kB / 286.4 MB, free: 3.43 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.773e-05/0.01384, allocations: 34.95 kB / 286.4 MB, free: 3.395 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.152e-05/0.01389, allocations: 28.5 kB / 286.4 MB, free: 3.367 MB / 266.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01389, allocations: 4 kB / 286.4 MB, free: 3.363 MB / 266.7 MB Notification: Performance of Templates: time 0.004749/0.01864, allocations: 3.182 MB / 289.6 MB, free: 236 kB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.6475517726503313]