Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001179/0.001179, allocations: 107 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001401/0.001401, allocations: 215.7 kB / 23 MB, free: 5.574 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 230.2 MB / 256.2 MB, free: 8.535 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001844/0.001844, allocations: 55.91 kB / 376.5 MB, free: 3.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.2691, allocations: 53.33 MB / 429.8 MB, free: 7.422 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003491/0.2726, allocations: 2.506 MB / 432.3 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004479/0.273, allocations: 263 kB / 432.5 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.706e-05/0.2731, allocations: 4 kB / 432.5 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001237/0.2732, allocations: 47.56 kB / 432.6 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001578/0.2734, allocations: 99.12 kB / 432.7 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001551/0.2735, allocations: 59.91 kB / 432.7 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003521/0.2739, allocations: 318.5 kB / 433.1 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.2741, allocations: 75.11 kB / 433.1 MB, free: 4.043 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.2742, allocations: 119.6 kB / 433.2 MB, free: 3.926 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001649/0.2743, allocations: 135.3 kB / 433.4 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.735e-05/0.2744, allocations: 24 kB / 433.4 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.271e-05/0.2744, allocations: 28 kB / 433.4 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.749e-05/0.2745, allocations: 51.84 kB / 433.5 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001321/0.2746, allocations: 151.3 kB / 433.6 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003447/0.275, allocations: 315.7 kB / 433.9 MB, free: 3.238 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.275, allocations: 0 / 433.9 MB, free: 3.238 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.275, allocations: 3.938 kB / 433.9 MB, free: 3.234 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.275, allocations: 0 / 433.9 MB, free: 3.234 MB / 334.1 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.0007951/0.2758, allocations: 0.5728 MB / 434.5 MB, free: 2.609 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.804e-05/0.2758, allocations: 8.031 kB / 434.5 MB, free: 2.602 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.255e-05/0.2759, allocations: 32.75 kB / 434.6 MB, free: 2.57 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003192/0.2762, allocations: 259.9 kB / 434.8 MB, free: 2.277 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.2762, allocations: 20.94 kB / 434.8 MB, free: 2.258 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.337e-05/0.2762, allocations: 24.38 kB / 434.9 MB, free: 2.234 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004781/0.2767, allocations: 267.1 kB / 435.1 MB, free: 1.965 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.2767, allocations: 192 / 435.1 MB, free: 1.965 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.027e-05/0.2768, allocations: 15.94 kB / 435.1 MB, free: 1.949 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.2768, allocations: 8 kB / 435.1 MB, free: 1.941 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000359/0.2771, allocations: 175.8 kB / 435.3 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/0.2782, allocations: 0.7502 MB / 436.1 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004515/0.2787, allocations: 257.3 kB / 436.3 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001841/0.2789, allocations: 117.9 kB / 436.4 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.2789, allocations: 4 kB / 436.4 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.2789, allocations: 42.56 kB / 436.5 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 1.423e-06/0.2789, allocations: 0 / 436.5 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.002818/0.2817, allocations: 1.724 MB / 438.2 MB, free: 14.63 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.627e-05/0.2818, allocations: 81.11 kB / 438.3 MB, free: 14.53 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.282, allocations: 179.2 kB / 438.5 MB, free: 14.35 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.285e-05/0.282, allocations: 41.64 kB / 438.5 MB, free: 14.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.2821, allocations: 144.8 kB / 438.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000138/0.2822, allocations: 186.4 kB / 438.8 MB, free: 13.97 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.2824, allocations: 74.27 kB / 438.9 MB, free: 13.89 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.2825, allocations: 334.8 kB / 439.2 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/0.2827, allocations: 109.1 kB / 439.3 MB, free: 13.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002195/0.2829, allocations: 157.4 kB / 439.5 MB, free: 13.28 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000462/0.2834, allocations: 286.1 kB / 439.8 MB, free: 12.99 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.2834, allocations: 0 / 439.8 MB, free: 12.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.000536/0.2839, allocations: 370 kB / 440.1 MB, free: 12.62 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.2839, allocations: 8 kB / 440.1 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.2839, allocations: 3.938 kB / 440.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.284, allocations: 4 kB / 440.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003775/0.2843, allocations: 95.91 kB / 440.2 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/0.2844, allocations: 11.98 kB / 440.2 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.2845, allocations: 12 kB / 440.2 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.812e-05/0.2845, allocations: 16 kB / 440.3 MB, free: 12.48 MB / 350.1 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.0001438/0.2846, allocations: 145.8 kB / 440.4 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.478e-05/0.2847, allocations: 39.75 kB / 440.4 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.428e-05/0.2848, allocations: 41.86 kB / 440.5 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.2848, allocations: 4 kB / 440.5 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.2848, allocations: 4 kB / 440.5 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.2848, allocations: 0 / 440.5 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001294/0.2861, allocations: 0.9411 MB / 441.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.2861, allocations: 0 / 441.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004292/0.2865, allocations: 99.83 kB / 441.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.835e-06/0.2865, allocations: 4 kB / 441.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.721e-05/0.2866, allocations: 11.94 kB / 441.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.2866, allocations: 4.062 kB / 441.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.2866, allocations: 4 kB / 441.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000851/0.2874, allocations: 0.6405 MB / 442.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.417e-05/0.2875, allocations: 104.9 kB / 442.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.345e-05/0.2875, allocations: 11.98 kB / 442.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.2877, allocations: 16 kB / 442.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.793e-05/0.2878, allocations: 27.91 kB / 442.4 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.772e-05/0.2878, allocations: 8 kB / 442.4 MB, free: 10.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001105/0.2879, allocations: 139.1 kB / 442.5 MB, free: 10.13 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2879, allocations: 0 / 442.5 MB, free: 10.13 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003574/0.2883, allocations: 80 kB / 442.6 MB, free: 10.05 MB / 350.1 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.0001264/0.2884, allocations: 111.2 kB / 442.7 MB, free: 9.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004559/0.2888, allocations: 283.6 kB / 443 MB, free: 9.648 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2888, allocations: 4 kB / 443 MB, free: 9.645 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002134/0.289, allocations: 139.7 kB / 443.1 MB, free: 9.508 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005991/0.2896, allocations: 82.97 kB / 443.2 MB, free: 9.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001666/0.2913, allocations: 1.008 MB / 444.2 MB, free: 8.391 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003997/0.2917, allocations: 0.7764 MB / 445 MB, free: 7.582 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001283/0.2918, allocations: 30.95 kB / 445 MB, free: 7.547 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.27e-05/0.2919, allocations: 31.44 kB / 445 MB, free: 7.516 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2919, allocations: 0 / 445 MB, free: 7.516 MB / 350.1 MB Notification: Performance of Templates: time 0.007055/0.299, allocations: 3.228 MB / 448.3 MB, free: 4.312 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.475488672032952]