Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00113/0.00113, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.171/1.171, allocations: 205.1 MB / 223.7 MB, free: 8.484 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008769/0.0008769, allocations: 90.3 kB / 271.2 MB, free: 8.445 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008248/0.0008249, allocations: 43.94 kB / 327.2 MB, free: 332 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.1985, allocations: 46.61 MB / 373.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.002997/0.2015, allocations: 2.509 MB / 376.3 MB, free: 43.83 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003643/0.2019, allocations: 255.7 kB / 376.6 MB, free: 43.61 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.202, allocations: 8.344 kB / 376.6 MB, free: 43.61 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001322/0.2022, allocations: 35.28 kB / 376.6 MB, free: 43.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000123/0.2023, allocations: 82.62 kB / 376.7 MB, free: 43.5 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001393/0.2025, allocations: 53.75 kB / 376.8 MB, free: 43.46 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002419/0.2027, allocations: 309.7 kB / 377.1 MB, free: 43.28 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001645/0.2029, allocations: 86.61 kB / 377.1 MB, free: 43.24 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.327e-05/0.203, allocations: 112.2 kB / 377.2 MB, free: 43.18 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001344/0.2031, allocations: 123.7 kB / 377.4 MB, free: 43.1 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/0.2032, allocations: 16.97 kB / 377.4 MB, free: 43.1 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.337e-05/0.2032, allocations: 16.81 kB / 377.4 MB, free: 43.1 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.443e-05/0.2032, allocations: 55.28 kB / 377.5 MB, free: 43.05 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.2034, allocations: 132.8 kB / 377.6 MB, free: 42.97 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002177/0.2036, allocations: 304.1 kB / 377.9 MB, free: 42.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2036, allocations: 1.125 kB / 377.9 MB, free: 42.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.2036, allocations: 0 / 377.9 MB, free: 42.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.2036, allocations: 4 kB / 377.9 MB, free: 42.74 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.0006783/0.2043, allocations: 0.5556 MB / 378.4 MB, free: 42.23 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.2043, allocations: 9.938 kB / 378.5 MB, free: 42.23 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.194e-05/0.2044, allocations: 36.27 kB / 378.5 MB, free: 42.21 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.2046, allocations: 255.1 kB / 378.7 MB, free: 41.95 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.2047, allocations: 23.61 kB / 378.8 MB, free: 41.94 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.924e-05/0.2048, allocations: 28.53 kB / 378.8 MB, free: 41.93 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003518/0.2051, allocations: 252.4 kB / 379 MB, free: 41.76 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.2051, allocations: 9.25 kB / 379 MB, free: 41.75 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/0.2052, allocations: 14.62 kB / 379.1 MB, free: 41.74 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.2052, allocations: 9.547 kB / 379.1 MB, free: 41.74 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002623/0.2054, allocations: 170.6 kB / 379.2 MB, free: 41.66 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008086/0.2063, allocations: 0.7505 MB / 380 MB, free: 41.02 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003349/0.2066, allocations: 281.2 kB / 380.3 MB, free: 40.86 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001473/0.2068, allocations: 123.6 kB / 380.4 MB, free: 40.79 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.2068, allocations: 7.688 kB / 380.4 MB, free: 40.79 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.2068, allocations: 37.25 kB / 380.4 MB, free: 40.75 MB / 298.7 MB Notification: Performance of pre-optimization done (n=36): time 1.472e-06/0.2068, allocations: 0 / 380.4 MB, free: 40.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=48): time 0.00211/0.2089, allocations: 1.706 MB / 382.1 MB, free: 39.4 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/0.209, allocations: 81.8 kB / 382.2 MB, free: 39.3 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.2091, allocations: 186.5 kB / 382.4 MB, free: 39.16 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.2091, allocations: 39.17 kB / 382.4 MB, free: 39.12 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.603e-05/0.2092, allocations: 138.5 kB / 382.6 MB, free: 38.98 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.425e-05/0.2093, allocations: 177.5 kB / 382.7 MB, free: 38.83 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.708e-05/0.2094, allocations: 75.27 kB / 382.8 MB, free: 38.77 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.185e-05/0.2094, allocations: 341.1 kB / 383.1 MB, free: 38.44 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.2096, allocations: 100.7 kB / 383.2 MB, free: 38.39 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001667/0.2098, allocations: 161.9 kB / 383.4 MB, free: 38.29 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003225/0.2101, allocations: 282.9 kB / 383.7 MB, free: 38.13 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.2101, allocations: 1.281 kB / 383.7 MB, free: 38.13 MB / 298.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004362/0.2105, allocations: 371.9 kB / 384 MB, free: 37.95 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.2106, allocations: 5.344 kB / 384 MB, free: 37.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.2106, allocations: 1.344 kB / 384 MB, free: 37.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.2106, allocations: 7.656 kB / 384.1 MB, free: 37.94 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003466/0.2109, allocations: 104.6 kB / 384.2 MB, free: 37.92 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.211, allocations: 3.531 kB / 384.2 MB, free: 37.92 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.2111, allocations: 10.5 kB / 384.2 MB, free: 37.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.948e-05/0.2111, allocations: 9.594 kB / 384.2 MB, free: 37.91 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.648e-05/0.2112, allocations: 152.4 kB / 384.3 MB, free: 37.77 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.369e-05/0.2113, allocations: 30.88 kB / 384.4 MB, free: 37.75 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.797e-05/0.2114, allocations: 41.48 kB / 384.4 MB, free: 37.71 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.2114, allocations: 5.875 kB / 384.4 MB, free: 37.71 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.2114, allocations: 4 kB / 384.4 MB, free: 37.71 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.2114, allocations: 1.062 kB / 384.4 MB, free: 37.71 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000979/0.2124, allocations: 0.9606 MB / 385.4 MB, free: 36.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.2124, allocations: 5.219 kB / 385.4 MB, free: 36.95 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003919/0.2128, allocations: 96.45 kB / 385.5 MB, free: 36.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.2128, allocations: 3.375 kB / 385.5 MB, free: 36.93 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.099e-05/0.2128, allocations: 11.34 kB / 385.5 MB, free: 36.92 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.2128, allocations: 2.656 kB / 385.5 MB, free: 36.92 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.2128, allocations: 1 kB / 385.5 MB, free: 36.92 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002425/0.2153, allocations: 2.555 MB / 388 MB, free: 34.62 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.813e-05/0.2153, allocations: 100.8 kB / 388.1 MB, free: 34.5 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/0.2154, allocations: 11.94 kB / 388.2 MB, free: 34.49 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.2155, allocations: 8 kB / 388.2 MB, free: 34.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.456e-05/0.2156, allocations: 27.97 kB / 388.2 MB, free: 34.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.2156, allocations: 15.98 kB / 388.2 MB, free: 34.44 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.219e-05/0.2156, allocations: 128.3 kB / 388.3 MB, free: 34.31 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.2156, allocations: 0 / 388.3 MB, free: 34.31 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000412/0.2161, allocations: 108 kB / 388.4 MB, free: 34.21 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 8.385e-05/0.2162, allocations: 111.2 kB / 388.5 MB, free: 34.09 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003494/0.2165, allocations: 294.8 kB / 388.8 MB, free: 33.8 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.2165, allocations: 0 / 388.8 MB, free: 33.8 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.2167, allocations: 155.7 kB / 389 MB, free: 33.64 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005608/0.2172, allocations: 68.14 kB / 389.1 MB, free: 33.58 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/0.2185, allocations: 1.415 MB / 390.5 MB, free: 32.12 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001654/0.2187, allocations: 0.7806 MB / 391.2 MB, free: 31.31 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001324/0.2188, allocations: 34.95 kB / 391.3 MB, free: 31.27 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.521e-05/0.2189, allocations: 31.44 kB / 391.3 MB, free: 31.24 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2189, allocations: 4 kB / 391.3 MB, free: 31.24 MB / 298.7 MB Notification: Performance of Templates: time 0.004986/0.2239, allocations: 3.458 MB / 394.8 MB, free: 27.8 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches