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.001312/0.001312, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.000981/0.000981, allocations: 170 kB / 24.91 MB, free: 9.156 MB / 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.9177/0.9177, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.603e-06/1.603e-06, allocations: 0 / 273.4 MB, free: 1.336 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.148e-05/1.308e-05, allocations: 6.312 kB / 273.4 MB, free: 1.328 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.002602/0.002615, allocations: 2.458 MB / 275.9 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004946/0.00311, allocations: 274.8 kB / 276.2 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.311e-05/0.003203, allocations: 4 kB / 276.2 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000109/0.003312, allocations: 39.58 kB / 276.2 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001321/0.003444, allocations: 103.1 kB / 276.3 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001489/0.003593, allocations: 67.84 kB / 276.4 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002351/0.003828, allocations: 338.2 kB / 276.7 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.003946, allocations: 71.11 kB / 276.8 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.004087, allocations: 183.6 kB / 276.9 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.004204, allocations: 99.69 kB / 277 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.99e-05/0.004234, allocations: 24 kB / 277.1 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.662e-05/0.004261, allocations: 24 kB / 277.1 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.586e-05/0.004297, allocations: 59.81 kB / 277.1 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.97e-05/0.004366, allocations: 103.8 kB / 277.3 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001846/0.004551, allocations: 215.1 kB / 277.5 MB, free: 13.28 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.004552, allocations: 0 / 277.5 MB, free: 13.28 MB / 266.7 MB Notification: Performance of FrontEnd: time 4e-07/0.004553, allocations: 0 / 277.5 MB, free: 13.28 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.257e-06/0.004556, allocations: 0 / 277.5 MB, free: 13.28 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.0004425/0.004999, allocations: 496.1 kB / 277.9 MB, free: 12.77 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.814e-05/0.005027, allocations: 8.031 kB / 278 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.789e-05/0.005075, allocations: 40.91 kB / 278 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.005246, allocations: 165.4 kB / 278.2 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.005263, allocations: 21.03 kB / 278.2 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.407e-05/0.005297, allocations: 24.38 kB / 278.2 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/0.005498, allocations: 200.2 kB / 278.4 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.005514, allocations: 8.156 kB / 278.4 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.005531, allocations: 16.38 kB / 278.4 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.005539, allocations: 4.375 kB / 278.4 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.552e-05/0.005634, allocations: 83.86 kB / 278.5 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004891/0.006123, allocations: 0.492 MB / 279 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/0.006297, allocations: 177 kB / 279.2 MB, free: 11.47 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.028e-05/0.006357, allocations: 72.02 kB / 279.2 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.006371, allocations: 11.91 kB / 279.3 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.006393, allocations: 42.5 kB / 279.3 MB, free: 11.33 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 1.402e-06/0.006394, allocations: 3.938 kB / 279.3 MB, free: 11.33 MB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.001341/0.007735, allocations: 1.17 MB / 280.5 MB, free: 10.07 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.007776, allocations: 89.05 kB / 280.6 MB, free: 9.961 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.793e-05/0.007864, allocations: 170.5 kB / 280.7 MB, free: 9.781 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.00788, allocations: 29.7 kB / 280.7 MB, free: 9.746 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.993e-05/0.00793, allocations: 140.8 kB / 280.9 MB, free: 9.605 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.295e-05/0.008013, allocations: 186.3 kB / 281.1 MB, free: 9.422 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.163e-05/0.008075, allocations: 74.17 kB / 281.1 MB, free: 9.344 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.867e-05/0.008163, allocations: 342.8 kB / 281.5 MB, free: 9 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.337e-05/0.008207, allocations: 44.91 kB / 281.5 MB, free: 8.953 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.409e-05/0.008281, allocations: 96.83 kB / 281.6 MB, free: 8.844 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.008415, allocations: 165.9 kB / 281.8 MB, free: 8.672 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.008416, allocations: 4 kB / 281.8 MB, free: 8.668 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0001834/0.008599, allocations: 214.4 kB / 282 MB, free: 8.453 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.00861, allocations: 11.98 kB / 282 MB, free: 8.441 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.008614, allocations: 0 / 282 MB, free: 8.441 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.008626, allocations: 4 kB / 282 MB, free: 8.438 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001897/0.008816, allocations: 99.84 kB / 282.1 MB, free: 8.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.008824, allocations: 11.92 kB / 282.1 MB, free: 8.328 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.8e-05/0.008872, allocations: 8 kB / 282.1 MB, free: 8.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.008884, allocations: 12 kB / 282.1 MB, free: 8.309 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 0.000157/0.009041, allocations: 129.8 kB / 282.3 MB, free: 8.172 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.457e-05/0.009085, allocations: 39.97 kB / 282.3 MB, free: 8.133 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.391e-05/0.009129, allocations: 42.03 kB / 282.3 MB, free: 8.09 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.009132, allocations: 4 kB / 282.3 MB, free: 8.086 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.009136, allocations: 0 / 282.3 MB, free: 8.086 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.009142, allocations: 7.922 kB / 282.4 MB, free: 8.078 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005409/0.009683, allocations: 0.5956 MB / 282.9 MB, free: 7.453 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.009686, allocations: 4 kB / 283 MB, free: 7.449 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000204/0.00989, allocations: 95.89 kB / 283 MB, free: 7.355 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.009892, allocations: 0 / 283 MB, free: 7.355 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.009905, allocations: 16.06 kB / 283.1 MB, free: 7.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.009908, allocations: 4 kB / 283.1 MB, free: 7.336 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.009909, allocations: 0 / 283.1 MB, free: 7.336 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000295/0.0102, allocations: 465.5 kB / 283.5 MB, free: 6.859 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.031e-05/0.01022, allocations: 23.84 kB / 283.5 MB, free: 6.836 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.01024, allocations: 11.94 kB / 283.6 MB, free: 6.824 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.713e-05/0.01032, allocations: 12 kB / 283.6 MB, free: 6.812 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.627e-05/0.01035, allocations: 31.94 kB / 283.6 MB, free: 6.781 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.769e-06/0.01036, allocations: 8 kB / 283.6 MB, free: 6.773 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.545e-05/0.01039, allocations: 36.81 kB / 283.6 MB, free: 6.734 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01039, allocations: 8 kB / 283.6 MB, free: 6.727 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002087/0.0106, allocations: 79.94 kB / 283.7 MB, free: 6.648 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.514e-05/0.01068, allocations: 92.3 kB / 283.8 MB, free: 6.547 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001771/0.01085, allocations: 188.9 kB / 284 MB, free: 6.355 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.01086, allocations: 0 / 284 MB, free: 6.355 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.296e-05/0.01094, allocations: 112.5 kB / 284.1 MB, free: 6.246 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.01121, allocations: 71.22 kB / 284.2 MB, free: 6.18 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006239/0.01184, allocations: 0.6557 MB / 284.8 MB, free: 5.492 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.163e-05/0.0119, allocations: 101.5 kB / 284.9 MB, free: 5.363 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.485e-05/0.01197, allocations: 38.94 kB / 285 MB, free: 5.324 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.0121, allocations: 115.3 kB / 285.1 MB, free: 5.211 MB / 266.7 MB Notification: Performance of SimCode: time 4.81e-07/0.0121, allocations: 0 / 285.1 MB, free: 5.211 MB / 266.7 MB Notification: Performance of Templates: time 0.004618/0.01671, allocations: 3.326 MB / 288.4 MB, free: 1.957 MB / 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.8048258582130075]