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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 107.1 kB / 17.74 MB, free: 5.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 188.2 kB / 18.67 MB, free: 4.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 47.92 kB / 352 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2625, allocations: 49.44 MB / 401.4 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003416/0.266, allocations: 2.48 MB / 403.9 MB, free: 6.367 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004856/0.2665, allocations: 259 kB / 404.1 MB, free: 6.113 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.2666, allocations: 4 kB / 404.1 MB, free: 6.109 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001534/0.2668, allocations: 43.58 kB / 404.2 MB, free: 6.066 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001547/0.267, allocations: 91.14 kB / 404.3 MB, free: 5.977 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001847/0.2672, allocations: 67.89 kB / 404.3 MB, free: 5.91 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003014/0.2675, allocations: 322.5 kB / 404.6 MB, free: 5.594 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000198/0.2677, allocations: 103.1 kB / 404.7 MB, free: 5.488 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.2678, allocations: 115.6 kB / 404.9 MB, free: 5.375 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001738/0.268, allocations: 131.4 kB / 405 MB, free: 5.246 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.006e-05/0.268, allocations: 24 kB / 405 MB, free: 5.223 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.69e-05/0.2681, allocations: 28 kB / 405 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.682e-05/0.2681, allocations: 55.83 kB / 405.1 MB, free: 5.141 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.2683, allocations: 143.3 kB / 405.2 MB, free: 5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003053/0.2686, allocations: 319.9 kB / 405.5 MB, free: 4.691 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.2686, allocations: 0 / 405.5 MB, free: 4.691 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2686, allocations: 4 kB / 405.5 MB, free: 4.688 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.2686, allocations: 0 / 405.5 MB, free: 4.688 MB / 318.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.0007742/0.2694, allocations: 0.5654 MB / 406.1 MB, free: 4.066 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.2694, allocations: 11.97 kB / 406.1 MB, free: 4.055 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.339e-05/0.2695, allocations: 36.56 kB / 406.2 MB, free: 4.02 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002769/0.2698, allocations: 251.8 kB / 406.4 MB, free: 3.734 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.2698, allocations: 20.94 kB / 406.4 MB, free: 3.715 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.964e-05/0.2699, allocations: 32.27 kB / 406.5 MB, free: 3.684 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003912/0.2703, allocations: 255.1 kB / 406.7 MB, free: 3.426 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.2703, allocations: 192 / 406.7 MB, free: 3.426 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.195e-05/0.2703, allocations: 15.94 kB / 406.7 MB, free: 3.41 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.822e-05/0.2704, allocations: 11.94 kB / 406.7 MB, free: 3.398 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002657/0.2706, allocations: 175.9 kB / 406.9 MB, free: 3.227 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009681/0.2716, allocations: 0.7381 MB / 407.6 MB, free: 2.434 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003709/0.272, allocations: 276.9 kB / 407.9 MB, free: 2.145 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001776/0.2722, allocations: 125.7 kB / 408 MB, free: 2.016 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.2722, allocations: 4 kB / 408 MB, free: 2.012 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.2722, allocations: 38.56 kB / 408.1 MB, free: 1.965 MB / 318.1 MB Notification: Performance of pre-optimization done (n=36): time 1.403e-06/0.2722, allocations: 0 / 408.1 MB, free: 1.965 MB / 318.1 MB Notification: Performance of matching and sorting (n=48): time 0.002438/0.2747, allocations: 1.717 MB / 409.8 MB, free: 76 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/0.2748, allocations: 81.11 kB / 409.9 MB, free: 15.98 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.2749, allocations: 182.3 kB / 410.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.275, allocations: 29.7 kB / 410.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.791e-05/0.2751, allocations: 140.7 kB / 410.2 MB, free: 15.61 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.2752, allocations: 173.4 kB / 410.4 MB, free: 15.44 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.29e-05/0.2753, allocations: 78.25 kB / 410.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.2754, allocations: 338.8 kB / 410.8 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001646/0.2756, allocations: 113 kB / 410.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002002/0.2758, allocations: 153.5 kB / 411.1 MB, free: 14.74 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004626/0.2763, allocations: 286.7 kB / 411.3 MB, free: 14.45 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2763, allocations: 0 / 411.3 MB, free: 14.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0006891/0.277, allocations: 369.9 kB / 411.7 MB, free: 14.09 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.277, allocations: 8 kB / 411.7 MB, free: 14.08 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.277, allocations: 0 / 411.7 MB, free: 14.08 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.548e-05/0.277, allocations: 4 kB / 411.7 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003569/0.2774, allocations: 103.8 kB / 411.8 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.2774, allocations: 4 kB / 411.8 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.2775, allocations: 12 kB / 411.8 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/0.2776, allocations: 12 kB / 411.8 MB, free: 13.94 MB / 334.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.0001493/0.2777, allocations: 162.2 kB / 412 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.24e-05/0.2778, allocations: 35.55 kB / 412 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.997e-05/0.2779, allocations: 37.88 kB / 412.1 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.2779, allocations: 8 kB / 412.1 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.2779, allocations: 3.938 kB / 412.1 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.2779, allocations: 3.984 kB / 412.1 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/0.2791, allocations: 0.948 MB / 413 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.2791, allocations: 3.984 kB / 413 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003851/0.2795, allocations: 91.91 kB / 413.1 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.2796, allocations: 4 kB / 413.1 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.322e-05/0.2796, allocations: 11.94 kB / 413.1 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/0.2796, allocations: 7.984 kB / 413.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2796, allocations: 0 / 413.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000704/0.2803, allocations: 0.6472 MB / 413.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.454e-05/0.2804, allocations: 100.8 kB / 413.9 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.664e-05/0.2804, allocations: 8 kB / 413.9 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001767/0.2806, allocations: 12 kB / 413.9 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.623e-05/0.2807, allocations: 27.95 kB / 413.9 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.2807, allocations: 16 kB / 414 MB, free: 11.71 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.712e-05/0.2808, allocations: 136.2 kB / 414.1 MB, free: 11.58 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2808, allocations: 0 / 414.1 MB, free: 11.58 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003585/0.2811, allocations: 80 kB / 414.2 MB, free: 11.5 MB / 334.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.0001213/0.2813, allocations: 111.2 kB / 414.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004293/0.2817, allocations: 298.6 kB / 414.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.2817, allocations: 0 / 414.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001991/0.2819, allocations: 158.4 kB / 414.7 MB, free: 10.93 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005587/0.2825, allocations: 71.34 kB / 414.8 MB, free: 10.87 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.2839, allocations: 1.015 MB / 415.8 MB, free: 9.812 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.2842, allocations: 0.7763 MB / 416.6 MB, free: 9.008 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.455e-05/0.2843, allocations: 35.38 kB / 416.6 MB, free: 8.973 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2843, allocations: 0 / 416.6 MB, free: 8.973 MB / 334.1 MB Notification: Performance of Templates: time 0.005443/0.2898, allocations: 3.732 MB / 420.4 MB, free: 5.25 MB / 334.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches