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.001233/0.001233, allocations: 113.7 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001486/0.001486, allocations: 206.7 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 55.91 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/0.2709, allocations: 50.54 MB / 409.9 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003875/0.2749, allocations: 2.494 MB / 412.4 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006374/0.2755, allocations: 263 kB / 412.7 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001492/0.2757, allocations: 4 kB / 412.7 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001687/0.2759, allocations: 47.5 kB / 412.7 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001779/0.2761, allocations: 91.19 kB / 412.8 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002094/0.2763, allocations: 59.92 kB / 412.9 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003306/0.2766, allocations: 326.4 kB / 413.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000214/0.2769, allocations: 99.12 kB / 413.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.277, allocations: 115.6 kB / 413.4 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001841/0.2772, allocations: 131.4 kB / 413.5 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.103e-05/0.2772, allocations: 24 kB / 413.5 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.757e-05/0.2773, allocations: 24 kB / 413.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.175e-05/0.2773, allocations: 59.83 kB / 413.6 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001429/0.2775, allocations: 151.3 kB / 413.8 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003174/0.2778, allocations: 319.9 kB / 414.1 MB, free: 13.38 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2778, allocations: 0 / 414.1 MB, free: 13.38 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2778, allocations: 0 / 414.1 MB, free: 13.38 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.2778, allocations: 0 / 414.1 MB, free: 13.38 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.0008398/0.2787, allocations: 0.5615 MB / 414.6 MB, free: 12.76 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.2787, allocations: 8.031 kB / 414.7 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.011e-05/0.2788, allocations: 32.56 kB / 414.7 MB, free: 12.72 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003275/0.2791, allocations: 255.7 kB / 414.9 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.2792, allocations: 16.94 kB / 414.9 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.964e-05/0.2792, allocations: 28.38 kB / 415 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004189/0.2796, allocations: 263.1 kB / 415.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.792e-05/0.2797, allocations: 8.031 kB / 415.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.67e-05/0.2797, allocations: 15.94 kB / 415.3 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.2797, allocations: 4 kB / 415.3 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000288/0.28, allocations: 175.9 kB / 415.4 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.281, allocations: 0.7422 MB / 416.2 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003999/0.2815, allocations: 291.4 kB / 416.5 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001756/0.2816, allocations: 117.7 kB / 416.6 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.2817, allocations: 4 kB / 416.6 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.2817, allocations: 46.55 kB / 416.6 MB, free: 10.65 MB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 1.423e-06/0.2817, allocations: 0 / 416.6 MB, free: 10.65 MB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.002616/0.2843, allocations: 1.717 MB / 418.3 MB, free: 8.762 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.604e-05/0.2844, allocations: 85.09 kB / 418.4 MB, free: 8.66 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.2846, allocations: 183.2 kB / 418.6 MB, free: 8.473 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.2846, allocations: 37.64 kB / 418.6 MB, free: 8.43 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.032e-05/0.2847, allocations: 136.8 kB / 418.8 MB, free: 8.293 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.2848, allocations: 173.4 kB / 418.9 MB, free: 8.121 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.948e-05/0.2849, allocations: 86.19 kB / 419 MB, free: 8.027 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.2851, allocations: 334.8 kB / 419.4 MB, free: 7.691 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.2853, allocations: 105.1 kB / 419.5 MB, free: 7.59 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000203/0.2855, allocations: 153.5 kB / 419.6 MB, free: 7.426 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003887/0.2859, allocations: 290.1 kB / 419.9 MB, free: 7.133 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2859, allocations: 4 kB / 419.9 MB, free: 7.129 MB / 334.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.000507/0.2864, allocations: 365.8 kB / 420.3 MB, free: 6.766 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.2864, allocations: 8 kB / 420.3 MB, free: 6.758 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.2864, allocations: 0 / 420.3 MB, free: 6.758 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.2864, allocations: 7.984 kB / 420.3 MB, free: 6.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000372/0.2868, allocations: 99.84 kB / 420.4 MB, free: 6.652 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.2868, allocations: 4 kB / 420.4 MB, free: 6.648 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.287, allocations: 8.062 kB / 420.4 MB, free: 6.641 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.483e-05/0.287, allocations: 19.98 kB / 420.4 MB, free: 6.621 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.0001472/0.2871, allocations: 145.8 kB / 420.5 MB, free: 6.469 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.228e-05/0.2872, allocations: 35.66 kB / 420.6 MB, free: 6.434 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.078e-05/0.2873, allocations: 33.88 kB / 420.6 MB, free: 6.398 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.2873, allocations: 4 kB / 420.6 MB, free: 6.395 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/0.2873, allocations: 4 kB / 420.6 MB, free: 6.391 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.2874, allocations: 3.984 kB / 420.6 MB, free: 6.387 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.2886, allocations: 0.9526 MB / 421.6 MB, free: 5.371 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.2886, allocations: 0 / 421.6 MB, free: 5.371 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000406/0.289, allocations: 91.91 kB / 421.7 MB, free: 5.281 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.289, allocations: 7.984 kB / 421.7 MB, free: 5.273 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.541e-05/0.289, allocations: 15.94 kB / 421.7 MB, free: 5.258 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.2891, allocations: 64 / 421.7 MB, free: 5.258 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.2891, allocations: 8 kB / 421.7 MB, free: 5.25 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007364/0.2898, allocations: 0.6317 MB / 422.3 MB, free: 4.598 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.057e-05/0.2899, allocations: 100.8 kB / 422.4 MB, free: 4.48 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.982e-05/0.2899, allocations: 12 kB / 422.4 MB, free: 4.469 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.2901, allocations: 15.94 kB / 422.4 MB, free: 4.453 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.734e-05/0.2902, allocations: 31.89 kB / 422.5 MB, free: 4.422 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.2902, allocations: 12 kB / 422.5 MB, free: 4.41 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.733e-05/0.2903, allocations: 139.1 kB / 422.6 MB, free: 4.273 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2903, allocations: 0 / 422.6 MB, free: 4.273 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003687/0.2907, allocations: 76 kB / 422.7 MB, free: 4.199 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.0001275/0.2908, allocations: 115.2 kB / 422.8 MB, free: 4.074 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004874/0.2913, allocations: 300.4 kB / 423.1 MB, free: 3.781 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.2913, allocations: 0 / 423.1 MB, free: 3.781 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002822/0.2916, allocations: 159.6 kB / 423.3 MB, free: 3.625 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007376/0.2923, allocations: 59.91 kB / 423.3 MB, free: 3.566 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.2939, allocations: 1.03 MB / 424.4 MB, free: 2.496 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004502/0.2943, allocations: 0.7764 MB / 425.1 MB, free: 1.684 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.717e-05/0.2944, allocations: 27.44 kB / 425.2 MB, free: 1.656 MB / 334.1 MB Notification: Performance of SimCode: time 4.2e-07/0.2944, allocations: 0 / 425.2 MB, free: 1.656 MB / 334.1 MB Notification: Performance of Templates: time 0.006248/0.3007, allocations: 3.724 MB / 428.9 MB, free: 13.94 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/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_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches