Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008428/0.000843, allocations: 179.2 kB / 17.36 MB, free: 4.445 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.352/1.352, allocations: 205.6 MB / 223.7 MB, free: 8.953 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008137/0.0008141, allocations: 88.16 kB / 272.1 MB, free: 8.145 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002828/0.0002829, allocations: 8 kB / 329 MB, free: 15.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2529, allocations: 47.58 MB / 376.6 MB, free: 45.6 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003442/0.2564, allocations: 2.072 MB / 378.7 MB, free: 43.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008658/0.2573, allocations: 246.6 kB / 378.9 MB, free: 43.75 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003416/0.2577, allocations: 8.469 kB / 378.9 MB, free: 43.75 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002333/0.258, allocations: 35.48 kB / 379 MB, free: 43.72 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003632/0.2584, allocations: 82.81 kB / 379 MB, free: 43.65 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002958/0.2587, allocations: 53.12 kB / 379.1 MB, free: 43.6 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006029/0.2593, allocations: 301.7 kB / 379.4 MB, free: 43.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002851/0.2596, allocations: 91.19 kB / 379.5 MB, free: 43.38 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002415/0.2599, allocations: 98.16 kB / 379.6 MB, free: 43.33 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002928/0.2602, allocations: 127.2 kB / 379.7 MB, free: 43.25 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.451e-05/0.2603, allocations: 17.09 kB / 379.7 MB, free: 43.24 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.982e-05/0.2604, allocations: 13.81 kB / 379.7 MB, free: 43.24 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.582e-05/0.2604, allocations: 44.16 kB / 379.8 MB, free: 43.21 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000241/0.2607, allocations: 157.5 kB / 379.9 MB, free: 43.09 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003971/0.2611, allocations: 292 kB / 380.2 MB, free: 42.88 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.465e-06/0.2611, allocations: 5.031 kB / 380.2 MB, free: 42.88 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.2611, allocations: 0 / 380.2 MB, free: 42.88 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.485e-05/0.2612, allocations: 0 / 380.2 MB, free: 42.88 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.001044/0.2622, allocations: 0.5234 MB / 380.7 MB, free: 42.39 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.2623, allocations: 9.812 kB / 380.7 MB, free: 42.39 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001265/0.2624, allocations: 32.72 kB / 380.8 MB, free: 42.38 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003855/0.2628, allocations: 242.8 kB / 381 MB, free: 42.12 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.934e-05/0.2628, allocations: 23.97 kB / 381 MB, free: 42.11 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.7e-05/0.2629, allocations: 32.94 kB / 381.1 MB, free: 42.09 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005407/0.2635, allocations: 254.1 kB / 381.3 MB, free: 41.93 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.159e-05/0.2635, allocations: 5.891 kB / 381.3 MB, free: 41.92 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.236e-05/0.2636, allocations: 15.91 kB / 381.3 MB, free: 41.91 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.2636, allocations: 4.031 kB / 381.3 MB, free: 41.91 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004217/0.264, allocations: 172.5 kB / 381.5 MB, free: 41.83 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001342/0.2654, allocations: 0.7533 MB / 382.3 MB, free: 41.18 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005542/0.2659, allocations: 276 kB / 382.5 MB, free: 41.03 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000257/0.2662, allocations: 129.6 kB / 382.7 MB, free: 40.96 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.866e-05/0.2663, allocations: 8.531 kB / 382.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.2663, allocations: 36.22 kB / 382.7 MB, free: 40.91 MB / 298.7 MB Notification: Performance of pre-optimization done (n=36): time 3.025e-06/0.2663, allocations: 0 / 382.7 MB, free: 40.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=48): time 0.003529/0.2698, allocations: 1.698 MB / 384.4 MB, free: 39.57 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/0.2699, allocations: 85.89 kB / 384.5 MB, free: 39.47 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000216/0.2701, allocations: 192 kB / 384.7 MB, free: 39.32 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/0.2702, allocations: 32.05 kB / 384.7 MB, free: 39.29 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.898e-05/0.2703, allocations: 138.2 kB / 384.8 MB, free: 39.15 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000129/0.2704, allocations: 177.7 kB / 385 MB, free: 39 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.901e-05/0.2705, allocations: 10.22 kB / 385 MB, free: 38.99 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.327e-05/0.2706, allocations: 337 kB / 385.3 MB, free: 38.66 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002746/0.2709, allocations: 105.9 kB / 385.5 MB, free: 38.6 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003066/0.2712, allocations: 157.1 kB / 385.6 MB, free: 38.5 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005898/0.2718, allocations: 280.2 kB / 385.9 MB, free: 38.35 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2718, allocations: 0 / 385.9 MB, free: 38.35 MB / 298.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008028/0.2726, allocations: 361.3 kB / 386.2 MB, free: 38.17 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/0.2727, allocations: 5.281 kB / 386.2 MB, free: 38.17 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/0.2727, allocations: 1.5 kB / 386.2 MB, free: 38.17 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.795e-05/0.2727, allocations: 15.38 kB / 386.3 MB, free: 38.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005887/0.2733, allocations: 100.4 kB / 386.4 MB, free: 38.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.686e-05/0.2733, allocations: 3.25 kB / 386.4 MB, free: 38.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002105/0.2736, allocations: 11.03 kB / 386.4 MB, free: 38.13 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-05/0.2736, allocations: 13.75 kB / 386.4 MB, free: 38.12 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 0.000177/0.2738, allocations: 155.8 kB / 386.5 MB, free: 37.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.2739, allocations: 38.94 kB / 386.6 MB, free: 37.95 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.866e-05/0.274, allocations: 32.94 kB / 386.6 MB, free: 37.93 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.278e-06/0.2741, allocations: 10.56 kB / 386.6 MB, free: 37.92 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/0.2741, allocations: 4 kB / 386.6 MB, free: 37.92 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.387e-06/0.2741, allocations: 4.516 kB / 386.6 MB, free: 37.91 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00169/0.2758, allocations: 0.9549 MB / 387.6 MB, free: 37.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.2758, allocations: 3.938 kB / 387.6 MB, free: 37.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006018/0.2764, allocations: 87.91 kB / 387.7 MB, free: 36.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.131e-05/0.2765, allocations: 7.984 kB / 387.7 MB, free: 36.93 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.718e-05/0.2765, allocations: 12 kB / 387.7 MB, free: 36.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.2765, allocations: 4 kB / 387.7 MB, free: 36.91 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.2765, allocations: 0 / 387.7 MB, free: 36.91 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009183/0.2775, allocations: 0.6395 MB / 388.3 MB, free: 36.24 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.381e-05/0.2776, allocations: 100.7 kB / 388.4 MB, free: 36.12 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.536e-05/0.2776, allocations: 12 kB / 388.4 MB, free: 36.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002547/0.2779, allocations: 4 kB / 388.4 MB, free: 36.11 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.857e-05/0.278, allocations: 39.81 kB / 388.5 MB, free: 36.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.628e-05/0.278, allocations: 12 kB / 388.5 MB, free: 36.05 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001204/0.2781, allocations: 136.3 kB / 388.6 MB, free: 35.92 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.2781, allocations: 0 / 388.6 MB, free: 35.92 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005888/0.2787, allocations: 76 kB / 388.7 MB, free: 35.85 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 0.0001278/0.2789, allocations: 123.8 kB / 388.8 MB, free: 35.72 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005638/0.2795, allocations: 286.8 kB / 389.1 MB, free: 35.44 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2795, allocations: 4.125 kB / 389.1 MB, free: 35.44 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002366/0.2797, allocations: 155.6 kB / 389.3 MB, free: 35.29 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008039/0.2805, allocations: 63.84 kB / 389.3 MB, free: 35.22 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001947/0.2825, allocations: 1.242 MB / 390.6 MB, free: 33.95 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/0.2828, allocations: 0.7728 MB / 391.3 MB, free: 33.14 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002032/0.283, allocations: 46.88 kB / 391.4 MB, free: 33.1 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.417e-05/0.2831, allocations: 27.44 kB / 391.4 MB, free: 33.07 MB / 298.7 MB Notification: Performance of SimCode: time 5.51e-07/0.2831, allocations: 0 / 391.4 MB, free: 33.07 MB / 298.7 MB Notification: Performance of Templates: time 0.008608/0.2917, allocations: 2.868 MB / 394.3 MB, free: 30.21 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/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