Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=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.1.0-beta.om_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.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001205/0.001205, allocations: 118 kB / 17.83 MB, free: 5.246 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001742/0.001742, allocations: 201.2 kB / 18.78 MB, free: 4.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.514/1.514, allocations: 230.4 MB / 250 MB, free: 9.078 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001818, allocations: 71.75 kB / 367.3 MB, free: 7.059 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2624, allocations: 53.3 MB / 420.6 MB, free: 8.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003767/0.2662, allocations: 2.509 MB / 423.1 MB, free: 5.848 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005383/0.2667, allocations: 259.1 kB / 423.4 MB, free: 5.594 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.2669, allocations: 7.938 kB / 423.4 MB, free: 5.586 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001587/0.267, allocations: 43.58 kB / 423.4 MB, free: 5.543 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001778/0.2672, allocations: 95.19 kB / 423.5 MB, free: 5.449 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001801/0.2674, allocations: 63.86 kB / 423.6 MB, free: 5.387 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003674/0.2677, allocations: 322.5 kB / 423.9 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001726/0.2679, allocations: 75.11 kB / 424 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.268, allocations: 115.6 kB / 424.1 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001895/0.2682, allocations: 131.4 kB / 424.2 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.266e-05/0.2683, allocations: 24 kB / 424.3 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.47e-05/0.2683, allocations: 24 kB / 424.3 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.603e-05/0.2684, allocations: 59.81 kB / 424.3 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001574/0.2685, allocations: 143.3 kB / 424.5 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003634/0.2689, allocations: 318.5 kB / 424.8 MB, free: 4.191 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.2689, allocations: 4 kB / 424.8 MB, free: 4.188 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2689, allocations: 0 / 424.8 MB, free: 4.188 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.2689, allocations: 0 / 424.8 MB, free: 4.188 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.000875/0.2698, allocations: 0.5728 MB / 425.4 MB, free: 3.562 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.2698, allocations: 12.02 kB / 425.4 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.962e-05/0.2699, allocations: 32.75 kB / 425.4 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003344/0.2702, allocations: 251.9 kB / 425.7 MB, free: 3.234 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.683e-05/0.2702, allocations: 20.94 kB / 425.7 MB, free: 3.215 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.452e-05/0.2703, allocations: 24.38 kB / 425.7 MB, free: 3.191 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004361/0.2707, allocations: 259.1 kB / 426 MB, free: 2.926 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.2708, allocations: 8.188 kB / 426 MB, free: 2.918 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.861e-05/0.2708, allocations: 11.94 kB / 426 MB, free: 2.906 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.2708, allocations: 11.94 kB / 426 MB, free: 2.895 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003173/0.2711, allocations: 175.8 kB / 426.2 MB, free: 2.723 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.2722, allocations: 0.7541 MB / 426.9 MB, free: 1.914 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004195/0.2727, allocations: 259.8 kB / 427.2 MB, free: 1.645 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000195/0.2729, allocations: 117.9 kB / 427.3 MB, free: 1.523 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.2729, allocations: 4 kB / 427.3 MB, free: 1.52 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.2729, allocations: 42.56 kB / 427.3 MB, free: 1.469 MB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 1.452e-06/0.2729, allocations: 0 / 427.3 MB, free: 1.469 MB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.00284/0.2758, allocations: 1.715 MB / 429 MB, free: 15.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.362e-05/0.2758, allocations: 81.11 kB / 429.1 MB, free: 15.49 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.276, allocations: 187.1 kB / 429.3 MB, free: 15.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.08e-05/0.276, allocations: 37.64 kB / 429.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.2761, allocations: 140.8 kB / 429.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001518/0.2763, allocations: 186.4 kB / 429.7 MB, free: 14.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.2764, allocations: 78.25 kB / 429.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.2766, allocations: 338.8 kB / 430.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001867/0.2768, allocations: 105.1 kB / 430.2 MB, free: 14.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002264/0.277, allocations: 153.5 kB / 430.3 MB, free: 14.24 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004263/0.2774, allocations: 286.1 kB / 430.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.2774, allocations: 0 / 430.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005594/0.278, allocations: 377.9 kB / 431 MB, free: 13.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.278, allocations: 4 kB / 431 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.278, allocations: 0 / 431 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.278, allocations: 4 kB / 431 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003938/0.2784, allocations: 99.89 kB / 431.1 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.759e-06/0.2784, allocations: 4 kB / 431.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.2785, allocations: 12 kB / 431.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.293e-05/0.2786, allocations: 16.06 kB / 431.1 MB, free: 13.44 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.0001533/0.2787, allocations: 153.7 kB / 431.3 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.194e-05/0.2788, allocations: 31.75 kB / 431.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.882e-05/0.2789, allocations: 45.86 kB / 431.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.2789, allocations: 4 kB / 431.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.2789, allocations: 0 / 431.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.2789, allocations: 3.984 kB / 431.3 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001354/0.2803, allocations: 0.9427 MB / 432.3 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.2803, allocations: 0 / 432.3 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004188/0.2807, allocations: 95.89 kB / 432.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.2807, allocations: 4 kB / 432.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.835e-05/0.2807, allocations: 11.94 kB / 432.4 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.072e-06/0.2807, allocations: 7.938 kB / 432.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.2807, allocations: 7.922 kB / 432.4 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008091/0.2815, allocations: 0.6398 MB / 433 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.417e-05/0.2816, allocations: 108.9 kB / 433.2 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.921e-05/0.2817, allocations: 8 kB / 433.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.2818, allocations: 8 kB / 433.2 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.893e-05/0.2819, allocations: 39.84 kB / 433.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/0.2819, allocations: 11.98 kB / 433.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001182/0.282, allocations: 132.3 kB / 433.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.282, allocations: 0 / 433.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003674/0.2824, allocations: 80 kB / 433.4 MB, free: 11 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.0001349/0.2825, allocations: 111.2 kB / 433.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004965/0.283, allocations: 279.8 kB / 433.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.283, allocations: 4 kB / 433.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002249/0.2833, allocations: 147.8 kB / 434 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005784/0.2838, allocations: 66.83 kB / 434 MB, free: 10.4 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.2854, allocations: 1.018 MB / 435 MB, free: 9.355 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004569/0.2859, allocations: 0.7764 MB / 435.8 MB, free: 8.543 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001217/0.286, allocations: 26.97 kB / 435.8 MB, free: 8.512 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.387e-05/0.2861, allocations: 31.44 kB / 435.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2861, allocations: 0 / 435.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of Templates: time 0.007319/0.2934, allocations: 3.156 MB / 439 MB, free: 5.344 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches