Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001346/0.001346, allocations: 117.6 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001393/0.001392, allocations: 200.7 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 55.91 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2629, allocations: 50.55 MB / 409.2 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003169/0.2661, allocations: 2.497 MB / 411.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004558/0.2665, allocations: 259 kB / 412 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.987e-05/0.2666, allocations: 4 kB / 412 MB, free: 14.83 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001379/0.2668, allocations: 47.58 kB / 412 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001562/0.267, allocations: 99.11 kB / 412.1 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001816/0.2671, allocations: 59.92 kB / 412.2 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002836/0.2674, allocations: 314.5 kB / 412.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001925/0.2676, allocations: 99.11 kB / 412.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.2678, allocations: 119.6 kB / 412.7 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001599/0.2679, allocations: 135.4 kB / 412.8 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.565e-05/0.268, allocations: 28 kB / 412.9 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.934e-05/0.268, allocations: 24 kB / 412.9 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.772e-05/0.2681, allocations: 55.83 kB / 412.9 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001356/0.2682, allocations: 151.2 kB / 413.1 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003246/0.2685, allocations: 316 kB / 413.4 MB, free: 13.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.2685, allocations: 0 / 413.4 MB, free: 13.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2686, allocations: 3.938 kB / 413.4 MB, free: 13.4 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.2686, allocations: 0 / 413.4 MB, free: 13.4 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.0008136/0.2694, allocations: 0.5615 MB / 414 MB, free: 12.79 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.2694, allocations: 12.03 kB / 414 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.187e-05/0.2695, allocations: 32.56 kB / 414 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002769/0.2698, allocations: 251.7 kB / 414.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.2698, allocations: 20.94 kB / 414.3 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.996e-05/0.2699, allocations: 24.38 kB / 414.3 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003993/0.2703, allocations: 263.1 kB / 414.6 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.2703, allocations: 8.094 kB / 414.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/0.2703, allocations: 11.94 kB / 414.6 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.487e-06/0.2703, allocations: 8 kB / 414.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002885/0.2706, allocations: 175.8 kB / 414.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.2716, allocations: 0.7461 MB / 415.5 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004029/0.2721, allocations: 275.8 kB / 415.8 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001933/0.2723, allocations: 121.7 kB / 415.9 MB, free: 10.74 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.2723, allocations: 8 kB / 415.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.2723, allocations: 38.55 kB / 415.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 1.423e-06/0.2723, allocations: 0 / 415.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.002584/0.2749, allocations: 1.716 MB / 417.7 MB, free: 8.797 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.323e-05/0.275, allocations: 89.09 kB / 417.7 MB, free: 8.691 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002012/0.2752, allocations: 183.2 kB / 417.9 MB, free: 8.504 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.2752, allocations: 33.7 kB / 418 MB, free: 8.465 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.134e-05/0.2753, allocations: 140.7 kB / 418.1 MB, free: 8.324 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/0.2755, allocations: 173.4 kB / 418.3 MB, free: 8.152 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.2756, allocations: 78.25 kB / 418.3 MB, free: 8.066 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000204/0.2758, allocations: 338.8 kB / 418.7 MB, free: 7.727 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001692/0.276, allocations: 105.1 kB / 418.8 MB, free: 7.625 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002026/0.2762, allocations: 157.4 kB / 418.9 MB, free: 7.457 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003846/0.2766, allocations: 290.1 kB / 419.2 MB, free: 7.164 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2766, allocations: 0 / 419.2 MB, free: 7.164 MB / 334.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004847/0.2771, allocations: 365.8 kB / 419.6 MB, free: 6.801 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.2771, allocations: 4 kB / 419.6 MB, free: 6.797 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.2771, allocations: 0 / 419.6 MB, free: 6.797 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.2771, allocations: 4 kB / 419.6 MB, free: 6.793 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003649/0.2775, allocations: 108 kB / 419.7 MB, free: 6.688 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.2775, allocations: 3.938 kB / 419.7 MB, free: 6.684 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.2776, allocations: 12 kB / 419.7 MB, free: 6.672 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.565e-05/0.2776, allocations: 16 kB / 419.7 MB, free: 6.656 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.0001819/0.2778, allocations: 149.8 kB / 419.9 MB, free: 6.5 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.989e-05/0.2779, allocations: 35.64 kB / 419.9 MB, free: 6.465 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.258e-05/0.278, allocations: 37.88 kB / 419.9 MB, free: 6.426 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.278, allocations: 4 kB / 419.9 MB, free: 6.422 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.278, allocations: 4 kB / 419.9 MB, free: 6.418 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.278, allocations: 3.984 kB / 419.9 MB, free: 6.414 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001293/0.2793, allocations: 0.9427 MB / 420.9 MB, free: 5.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.2793, allocations: 4 kB / 420.9 MB, free: 5.406 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004019/0.2798, allocations: 95.84 kB / 421 MB, free: 5.312 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.2798, allocations: 4.062 kB / 421 MB, free: 5.309 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.685e-05/0.2798, allocations: 19.92 kB / 421 MB, free: 5.289 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.2798, allocations: 4 kB / 421 MB, free: 5.285 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2798, allocations: 0 / 421 MB, free: 5.285 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007212/0.2805, allocations: 0.6395 MB / 421.6 MB, free: 4.625 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.568e-05/0.2806, allocations: 104.8 kB / 421.7 MB, free: 4.504 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.642e-05/0.2807, allocations: 12 kB / 421.8 MB, free: 4.492 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.2808, allocations: 7.938 kB / 421.8 MB, free: 4.484 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.548e-05/0.2809, allocations: 31.95 kB / 421.8 MB, free: 4.453 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-05/0.2809, allocations: 15.94 kB / 421.8 MB, free: 4.438 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.102e-05/0.281, allocations: 131.1 kB / 421.9 MB, free: 4.309 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.281, allocations: 0 / 421.9 MB, free: 4.309 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003883/0.2814, allocations: 84 kB / 422 MB, free: 4.227 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.0001084/0.2815, allocations: 114.8 kB / 422.1 MB, free: 4.105 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004462/0.282, allocations: 299.6 kB / 422.4 MB, free: 3.812 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.282, allocations: 0 / 422.4 MB, free: 3.812 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001928/0.2822, allocations: 153 kB / 422.6 MB, free: 3.664 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005458/0.2827, allocations: 72.14 kB / 422.6 MB, free: 3.594 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.2841, allocations: 0.9931 MB / 423.6 MB, free: 2.566 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.2844, allocations: 0.7726 MB / 424.4 MB, free: 1.758 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001316/0.2846, allocations: 38.94 kB / 424.5 MB, free: 1.715 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.854e-05/0.2846, allocations: 27.44 kB / 424.5 MB, free: 1.688 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2846, allocations: 0 / 424.5 MB, free: 1.688 MB / 334.1 MB Notification: Performance of Templates: time 0.006142/0.2908, allocations: 3.108 MB / 427.6 MB, free: 14.6 MB / 350.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches