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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,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=10000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 222.9 MB / 240.9 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 109.1 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008315/0.0008315, allocations: 39.95 kB / 350 MB, free: 60 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.2186, allocations: 49.43 MB / 399.5 MB, free: 33.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.002823/0.2215, allocations: 2.524 MB / 402 MB, free: 30.82 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003838/0.2219, allocations: 257.9 kB / 402.2 MB, free: 30.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.222, allocations: 4 kB / 402.3 MB, free: 30.57 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001248/0.2221, allocations: 31.7 kB / 402.3 MB, free: 30.54 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001241/0.2223, allocations: 79.38 kB / 402.4 MB, free: 30.46 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001333/0.2224, allocations: 59.95 kB / 402.4 MB, free: 30.4 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001982/0.2226, allocations: 314.5 kB / 402.7 MB, free: 30.09 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.2228, allocations: 83.69 kB / 402.8 MB, free: 30.01 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.21e-05/0.2229, allocations: 107.6 kB / 402.9 MB, free: 29.9 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.223, allocations: 127.4 kB / 403 MB, free: 29.78 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.408e-05/0.223, allocations: 16 kB / 403.1 MB, free: 29.76 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.092e-05/0.2231, allocations: 19.94 kB / 403.1 MB, free: 29.74 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.916e-05/0.2231, allocations: 47.83 kB / 403.1 MB, free: 29.7 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.2232, allocations: 143.3 kB / 403.3 MB, free: 29.55 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002012/0.2234, allocations: 304.4 kB / 403.6 MB, free: 29.26 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.2234, allocations: 0 / 403.6 MB, free: 29.26 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.2235, allocations: 0 / 403.6 MB, free: 29.26 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.2235, allocations: 0 / 403.6 MB, free: 29.26 MB / 298.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.0006902/0.2242, allocations: 0.5692 MB / 404.1 MB, free: 28.64 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.2242, allocations: 8.031 kB / 404.1 MB, free: 28.63 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.402e-05/0.2243, allocations: 28.66 kB / 404.2 MB, free: 28.6 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001971/0.2245, allocations: 247.8 kB / 404.4 MB, free: 28.32 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.2245, allocations: 16.94 kB / 404.4 MB, free: 28.3 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.501e-05/0.2245, allocations: 32.31 kB / 404.5 MB, free: 28.27 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003207/0.2249, allocations: 251.1 kB / 404.7 MB, free: 28.02 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.2249, allocations: 8.094 kB / 404.7 MB, free: 28.01 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.339e-05/0.2249, allocations: 15.94 kB / 404.7 MB, free: 28 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.2249, allocations: 4 kB / 404.7 MB, free: 27.99 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002432/0.2252, allocations: 179.9 kB / 404.9 MB, free: 27.82 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008572/0.226, allocations: 0.7458 MB / 405.6 MB, free: 27.02 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002984/0.2264, allocations: 269.8 kB / 405.9 MB, free: 26.73 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001322/0.2265, allocations: 129.6 kB / 406 MB, free: 26.6 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.2265, allocations: 4 kB / 406 MB, free: 26.6 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.343e-05/0.2265, allocations: 30.56 kB / 406.1 MB, free: 26.56 MB / 298.7 MB Notification: Performance of pre-optimization done (n=36): time 1.703e-06/0.2266, allocations: 0 / 406.1 MB, free: 26.56 MB / 298.7 MB Notification: Performance of matching and sorting (n=48): time 0.001954/0.2285, allocations: 1.726 MB / 407.8 MB, free: 24.66 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.2286, allocations: 85.11 kB / 407.9 MB, free: 24.56 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.2287, allocations: 178.3 kB / 408.1 MB, free: 24.38 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.2287, allocations: 33.69 kB / 408.1 MB, free: 24.34 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.378e-05/0.2288, allocations: 144.6 kB / 408.2 MB, free: 24.19 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.893e-05/0.2289, allocations: 173.4 kB / 408.4 MB, free: 24.02 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.846e-05/0.229, allocations: 78.25 kB / 408.5 MB, free: 23.93 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.822e-05/0.229, allocations: 342.8 kB / 408.8 MB, free: 23.59 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.2292, allocations: 105.1 kB / 408.9 MB, free: 23.48 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.2293, allocations: 153.5 kB / 409.1 MB, free: 23.32 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003116/0.2296, allocations: 283.8 kB / 409.3 MB, free: 23.04 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.2296, allocations: 0 / 409.3 MB, free: 23.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003814/0.23, allocations: 373.8 kB / 409.7 MB, free: 22.66 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.23, allocations: 7.938 kB / 409.7 MB, free: 22.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.2301, allocations: 0 / 409.7 MB, free: 22.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.2301, allocations: 7.984 kB / 409.7 MB, free: 22.65 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003268/0.2304, allocations: 99.83 kB / 409.8 MB, free: 22.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.2304, allocations: 4 kB / 409.8 MB, free: 22.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.2305, allocations: 12 kB / 409.8 MB, free: 22.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.746e-05/0.2306, allocations: 16 kB / 409.8 MB, free: 22.52 MB / 298.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.239e-05/0.2307, allocations: 157.8 kB / 410 MB, free: 22.36 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.949e-05/0.2307, allocations: 31.66 kB / 410 MB, free: 22.32 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.826e-05/0.2308, allocations: 37.88 kB / 410.1 MB, free: 22.29 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.2308, allocations: 4 kB / 410.1 MB, free: 22.29 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2308, allocations: 0 / 410.1 MB, free: 22.29 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.2308, allocations: 3.984 kB / 410.1 MB, free: 22.28 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008938/0.2317, allocations: 0.9515 MB / 411 MB, free: 21.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.2317, allocations: 3.938 kB / 411 MB, free: 21.26 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003613/0.2321, allocations: 91.91 kB / 411.1 MB, free: 21.17 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.2321, allocations: 4 kB / 411.1 MB, free: 21.17 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.098e-05/0.2322, allocations: 20.05 kB / 411.1 MB, free: 21.15 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.2322, allocations: 0 / 411.1 MB, free: 21.15 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.2322, allocations: 7.938 kB / 411.2 MB, free: 21.14 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002269/0.2344, allocations: 2.54 MB / 413.7 MB, free: 18.45 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.891e-05/0.2345, allocations: 104.8 kB / 413.8 MB, free: 18.33 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.937e-05/0.2345, allocations: 11.94 kB / 413.8 MB, free: 18.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.2347, allocations: 15.94 kB / 413.8 MB, free: 18.3 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.314e-05/0.2347, allocations: 27.95 kB / 413.8 MB, free: 18.28 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.2348, allocations: 12 kB / 413.9 MB, free: 18.27 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.883e-05/0.2348, allocations: 145.4 kB / 414 MB, free: 18.12 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2349, allocations: 0 / 414 MB, free: 18.12 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004302/0.2353, allocations: 108 kB / 414.1 MB, free: 18.02 MB / 298.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 9.666e-05/0.2354, allocations: 107.2 kB / 414.2 MB, free: 17.91 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003518/0.2358, allocations: 288 kB / 414.5 MB, free: 17.62 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.2358, allocations: 0 / 414.5 MB, free: 17.62 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001527/0.2359, allocations: 159.8 kB / 414.7 MB, free: 17.47 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005836/0.2365, allocations: 65.2 kB / 414.7 MB, free: 17.41 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.2378, allocations: 1.417 MB / 416.1 MB, free: 15.94 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001652/0.238, allocations: 0.7884 MB / 416.9 MB, free: 15.12 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000129/0.2381, allocations: 42.94 kB / 417 MB, free: 15.08 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.232e-05/0.2382, allocations: 27.44 kB / 417 MB, free: 15.05 MB / 298.7 MB Notification: Performance of SimCode: time 3.31e-07/0.2382, allocations: 0 / 417 MB, free: 15.05 MB / 298.7 MB Notification: Performance of Templates: time 0.005401/0.2436, allocations: 3.452 MB / 420.4 MB, free: 11.62 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches