Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001374/0.001374, allocations: 200.4 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 229.5 MB / 247.7 MB, free: 6.34 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009943/0.0009943, allocations: 99.89 kB / 299.9 MB, free: 5.348 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003128/0.0003129, allocations: 4 kB / 360.6 MB, free: 8.484 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2647, allocations: 51.41 MB / 412 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.002692/0.2674, allocations: 2.095 MB / 414.1 MB, free: 23.81 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005894/0.2681, allocations: 250.1 kB / 414.4 MB, free: 23.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001743/0.2683, allocations: 8.938 kB / 414.4 MB, free: 23.56 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001542/0.2684, allocations: 31.77 kB / 414.4 MB, free: 23.53 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002264/0.2687, allocations: 78.2 kB / 414.5 MB, free: 23.45 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001981/0.2689, allocations: 59.94 kB / 414.6 MB, free: 23.39 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003201/0.2692, allocations: 309.3 kB / 414.9 MB, free: 23.09 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002047/0.2694, allocations: 83.67 kB / 414.9 MB, free: 23.01 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.2696, allocations: 107.6 kB / 415.1 MB, free: 22.9 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001823/0.2698, allocations: 115.4 kB / 415.2 MB, free: 22.79 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.733e-05/0.2699, allocations: 12 kB / 415.2 MB, free: 22.78 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.201e-05/0.2699, allocations: 16 kB / 415.2 MB, free: 22.76 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.91e-05/0.27, allocations: 47.83 kB / 415.2 MB, free: 22.71 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001411/0.2701, allocations: 153 kB / 415.4 MB, free: 22.56 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000275/0.2704, allocations: 300.3 kB / 415.7 MB, free: 22.27 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.2704, allocations: 0 / 415.7 MB, free: 22.27 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2704, allocations: 0 / 415.7 MB, free: 22.27 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.2705, allocations: 4 kB / 415.7 MB, free: 22.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.0007924/0.2713, allocations: 0.5186 MB / 416.2 MB, free: 21.69 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.2713, allocations: 12.03 kB / 416.2 MB, free: 21.68 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.511e-05/0.2714, allocations: 32.56 kB / 416.2 MB, free: 21.65 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002575/0.2717, allocations: 255.7 kB / 416.5 MB, free: 21.36 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.2717, allocations: 16.94 kB / 416.5 MB, free: 21.34 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.442e-05/0.2718, allocations: 28.38 kB / 416.5 MB, free: 21.31 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005009/0.2723, allocations: 247.1 kB / 416.8 MB, free: 21.06 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/0.2723, allocations: 4.188 kB / 416.8 MB, free: 21.06 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.94e-05/0.2724, allocations: 15.88 kB / 416.8 MB, free: 21.04 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.2724, allocations: 8 kB / 416.8 MB, free: 21.04 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003903/0.2728, allocations: 183.8 kB / 417 MB, free: 20.86 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001172/0.274, allocations: 0.7575 MB / 417.7 MB, free: 20.04 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004924/0.2745, allocations: 274.2 kB / 418 MB, free: 19.76 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002275/0.2747, allocations: 121.7 kB / 418.1 MB, free: 19.63 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.2748, allocations: 4 kB / 418.1 MB, free: 19.63 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.2748, allocations: 34.56 kB / 418.2 MB, free: 19.59 MB / 298.7 MB Notification: Performance of pre-optimization done (n=36): time 1.963e-06/0.2748, allocations: 0 / 418.2 MB, free: 19.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=48): time 0.003139/0.278, allocations: 1.724 MB / 419.9 MB, free: 17.69 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.278, allocations: 81.11 kB / 420 MB, free: 17.59 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.2782, allocations: 179.2 kB / 420.1 MB, free: 17.41 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.2782, allocations: 29.7 kB / 420.2 MB, free: 17.37 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.857e-05/0.2783, allocations: 144.6 kB / 420.3 MB, free: 17.22 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.2784, allocations: 177.4 kB / 420.5 MB, free: 17.05 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.081e-05/0.2785, allocations: 8 kB / 420.5 MB, free: 17.04 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.599e-05/0.2785, allocations: 338.8 kB / 420.8 MB, free: 16.7 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002297/0.2788, allocations: 109 kB / 420.9 MB, free: 16.59 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002709/0.279, allocations: 153.5 kB / 421.1 MB, free: 16.43 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005038/0.2796, allocations: 275.1 kB / 421.4 MB, free: 16.16 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.2796, allocations: 4 kB / 421.4 MB, free: 16.15 MB / 298.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0006749/0.2803, allocations: 368.6 kB / 421.7 MB, free: 15.79 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.2803, allocations: 8 kB / 421.7 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.2803, allocations: 0 / 421.7 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.2803, allocations: 4 kB / 421.7 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005247/0.2809, allocations: 103.8 kB / 421.8 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.2809, allocations: 4 kB / 421.8 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001713/0.2811, allocations: 4 kB / 421.8 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.012e-05/0.2811, allocations: 16 kB / 421.9 MB, free: 15.65 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.0001407/0.2813, allocations: 153.8 kB / 422 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.2814, allocations: 31.66 kB / 422 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.888e-05/0.2815, allocations: 37.86 kB / 422.1 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.2815, allocations: 8 kB / 422.1 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.2815, allocations: 0 / 422.1 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.615e-06/0.2815, allocations: 3.984 kB / 422.1 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001514/0.2831, allocations: 0.9501 MB / 423 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.88e-06/0.2831, allocations: 7.875 kB / 423 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005998/0.2837, allocations: 95.89 kB / 423.1 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.084e-06/0.2837, allocations: 4 kB / 423.1 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.133e-05/0.2838, allocations: 16.06 kB / 423.2 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.2838, allocations: 3.938 kB / 423.2 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.2838, allocations: 4 kB / 423.2 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008615/0.2847, allocations: 0.6393 MB / 423.8 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.837e-05/0.2847, allocations: 96.83 kB / 423.9 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.265e-05/0.2848, allocations: 16 kB / 423.9 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002858/0.2851, allocations: 8 kB / 423.9 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.994e-05/0.2851, allocations: 27.95 kB / 423.9 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.804e-05/0.2852, allocations: 27.92 kB / 424 MB, free: 13.42 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.924e-05/0.2853, allocations: 131.1 kB / 424.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2853, allocations: 0 / 424.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005934/0.2859, allocations: 76 kB / 424.2 MB, free: 13.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 0.0001141/0.286, allocations: 119.2 kB / 424.3 MB, free: 13.09 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005542/0.2866, allocations: 297 kB / 424.6 MB, free: 12.8 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2866, allocations: 0 / 424.6 MB, free: 12.8 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002596/0.2869, allocations: 154.2 kB / 424.7 MB, free: 12.65 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008843/0.2878, allocations: 65 kB / 424.8 MB, free: 12.59 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/0.2896, allocations: 1.238 MB / 426 MB, free: 11.31 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/0.2898, allocations: 0.7767 MB / 426.8 MB, free: 10.51 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001923/0.2901, allocations: 34.97 kB / 426.8 MB, free: 10.48 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.47e-05/0.2902, allocations: 27.44 kB / 426.9 MB, free: 10.45 MB / 298.7 MB Notification: Performance of SimCode: time 3.41e-07/0.2902, allocations: 0 / 426.9 MB, free: 10.45 MB / 298.7 MB Notification: Performance of Templates: time 0.008011/0.2982, allocations: 2.88 MB / 429.8 MB, free: 7.582 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches