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.001621/0.001621, allocations: 110 kB / 17.06 MB, free: 6.023 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.002003/0.002003, allocations: 191 kB / 18 MB, free: 5.105 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.449/1.449, allocations: 222.9 MB / 241.7 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001013/0.001013, allocations: 43.94 kB / 351.3 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2423, allocations: 49.44 MB / 400.7 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003571/0.2459, allocations: 2.483 MB / 403.2 MB, free: 6.375 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005022/0.2464, allocations: 259 kB / 403.4 MB, free: 6.121 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/0.2465, allocations: 7.938 kB / 403.5 MB, free: 6.113 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001579/0.2467, allocations: 39.58 kB / 403.5 MB, free: 6.074 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001683/0.2469, allocations: 103.1 kB / 403.6 MB, free: 5.973 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002026/0.2471, allocations: 63.91 kB / 403.7 MB, free: 5.91 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003228/0.2474, allocations: 318.5 kB / 404 MB, free: 5.598 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002177/0.2477, allocations: 99.09 kB / 404.1 MB, free: 5.496 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.2478, allocations: 123.6 kB / 404.2 MB, free: 5.375 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000181/0.248, allocations: 131.4 kB / 404.3 MB, free: 5.246 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.049e-05/0.248, allocations: 24 kB / 404.3 MB, free: 5.223 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.294e-05/0.2481, allocations: 28 kB / 404.4 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.396e-05/0.2481, allocations: 55.83 kB / 404.4 MB, free: 5.141 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001356/0.2483, allocations: 143.3 kB / 404.6 MB, free: 5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003049/0.2486, allocations: 320 kB / 404.9 MB, free: 4.691 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2486, allocations: 0 / 404.9 MB, free: 4.691 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2486, allocations: 0 / 404.9 MB, free: 4.691 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.2486, allocations: 0 / 404.9 MB, free: 4.691 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.000772/0.2494, allocations: 0.5692 MB / 405.4 MB, free: 4.066 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.2494, allocations: 12.03 kB / 405.4 MB, free: 4.055 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.606e-05/0.2495, allocations: 32.56 kB / 405.5 MB, free: 4.023 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000291/0.2498, allocations: 251.8 kB / 405.7 MB, free: 3.738 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.2498, allocations: 16.94 kB / 405.7 MB, free: 3.723 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.878e-05/0.2499, allocations: 28.28 kB / 405.8 MB, free: 3.695 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003916/0.2503, allocations: 267.1 kB / 406 MB, free: 3.426 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.2503, allocations: 192 / 406 MB, free: 3.426 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.508e-05/0.2503, allocations: 15.94 kB / 406 MB, free: 3.41 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.2504, allocations: 4 kB / 406.1 MB, free: 3.406 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002759/0.2506, allocations: 179.8 kB / 406.2 MB, free: 3.23 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/0.2517, allocations: 0.742 MB / 407 MB, free: 2.434 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003923/0.2521, allocations: 275 kB / 407.2 MB, free: 2.148 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/0.2522, allocations: 124.2 kB / 407.4 MB, free: 2.023 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.2523, allocations: 4 kB / 407.4 MB, free: 2.02 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.2523, allocations: 38.56 kB / 407.4 MB, free: 1.973 MB / 318.1 MB Notification: Performance of pre-optimization done (n=36): time 1.533e-06/0.2523, allocations: 0 / 407.4 MB, free: 1.973 MB / 318.1 MB Notification: Performance of matching and sorting (n=48): time 0.002582/0.2549, allocations: 1.716 MB / 409.1 MB, free: 88 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.65e-05/0.255, allocations: 85.11 kB / 409.2 MB, free: 15.98 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.2551, allocations: 178.3 kB / 409.4 MB, free: 15.8 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/0.2552, allocations: 37.69 kB / 409.4 MB, free: 15.76 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.3e-05/0.2553, allocations: 144.6 kB / 409.6 MB, free: 15.61 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/0.2554, allocations: 169.5 kB / 409.7 MB, free: 15.45 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.774e-05/0.2555, allocations: 78.25 kB / 409.8 MB, free: 15.36 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.2556, allocations: 342.8 kB / 410.1 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/0.2558, allocations: 105.1 kB / 410.2 MB, free: 14.92 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002039/0.256, allocations: 153.5 kB / 410.4 MB, free: 14.75 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003859/0.2564, allocations: 286.7 kB / 410.7 MB, free: 14.46 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2564, allocations: 0 / 410.7 MB, free: 14.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005108/0.2569, allocations: 369.8 kB / 411 MB, free: 14.09 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.257, allocations: 4 kB / 411 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.257, allocations: 4 kB / 411 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.257, allocations: 0 / 411 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003932/0.2574, allocations: 103.9 kB / 411.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.2574, allocations: 4.062 kB / 411.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.2576, allocations: 16 kB / 411.2 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.918e-05/0.2576, allocations: 16 kB / 411.2 MB, free: 13.95 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.0001486/0.2578, allocations: 162.1 kB / 411.3 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.605e-05/0.2578, allocations: 35.56 kB / 411.4 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.987e-05/0.2579, allocations: 37.88 kB / 411.4 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.2579, allocations: 4 kB / 411.4 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.258, allocations: 0 / 411.4 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.258, allocations: 7.984 kB / 411.4 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001249/0.2592, allocations: 0.9426 MB / 412.4 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.2592, allocations: 4 kB / 412.4 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004201/0.2597, allocations: 95.84 kB / 412.4 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.2597, allocations: 0 / 412.4 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.556e-05/0.2597, allocations: 15.92 kB / 412.5 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.2597, allocations: 8.062 kB / 412.5 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2597, allocations: 0 / 412.5 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007488/0.2605, allocations: 0.6395 MB / 413.1 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.954e-05/0.2606, allocations: 104.8 kB / 413.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.991e-05/0.2606, allocations: 8 kB / 413.2 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001808/0.2608, allocations: 16 kB / 413.2 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.833e-05/0.2609, allocations: 31.89 kB / 413.3 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/0.2609, allocations: 15.94 kB / 413.3 MB, free: 11.71 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.978e-05/0.261, allocations: 128.3 kB / 413.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.261, allocations: 0 / 413.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003762/0.2614, allocations: 84 kB / 413.5 MB, free: 11.51 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.0001107/0.2615, allocations: 115.2 kB / 413.6 MB, free: 11.38 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004533/0.2619, allocations: 290.7 kB / 413.9 MB, free: 11.1 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.262, allocations: 0 / 413.9 MB, free: 11.1 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002033/0.2622, allocations: 162.2 kB / 414 MB, free: 10.94 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005782/0.2627, allocations: 71.92 kB / 414.1 MB, free: 10.87 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.2642, allocations: 0.9937 MB / 415.1 MB, free: 9.844 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/0.2646, allocations: 0.7763 MB / 415.9 MB, free: 9.039 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001295/0.2647, allocations: 34.94 kB / 415.9 MB, free: 9 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.849e-05/0.2648, allocations: 31.44 kB / 416 MB, free: 8.969 MB / 334.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2648, allocations: 4 kB / 416 MB, free: 8.965 MB / 334.1 MB Notification: Performance of Templates: time 0.006414/0.2712, allocations: 3.098 MB / 419.1 MB, free: 5.891 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/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_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches