Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001498/0.001498, allocations: 112.8 kB / 17.73 MB, free: 5.355 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.001621/0.001621, allocations: 183.1 kB / 18.66 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.639/1.639, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 47.94 kB / 328.5 MB, free: 3.336 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1092, allocations: 46.63 MB / 375.1 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003528/0.1128, allocations: 2.459 MB / 377.6 MB, free: 2.129 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007372/0.1135, allocations: 255 kB / 377.8 MB, free: 1.879 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002568/0.1139, allocations: 4 kB / 377.8 MB, free: 1.875 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001933/0.1141, allocations: 43.52 kB / 377.9 MB, free: 1.832 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000215/0.1143, allocations: 95.19 kB / 378 MB, free: 1.738 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002147/0.1145, allocations: 55.92 kB / 378 MB, free: 1.684 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000301/0.1148, allocations: 334.3 kB / 378.4 MB, free: 1.355 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002082/0.115, allocations: 107.1 kB / 378.5 MB, free: 1.25 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001039/0.1151, allocations: 111.6 kB / 378.6 MB, free: 1.141 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001751/0.1153, allocations: 127.4 kB / 378.7 MB, free: 1.016 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.919e-05/0.1154, allocations: 24 kB / 378.7 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.332e-05/0.1154, allocations: 24 kB / 378.7 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.059e-05/0.1155, allocations: 59.77 kB / 378.8 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000127/0.1156, allocations: 155.3 kB / 379 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002964/0.1159, allocations: 314.6 kB / 379.3 MB, free: 460 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.1159, allocations: 0 / 379.3 MB, free: 460 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1159, allocations: 0 / 379.3 MB, free: 460 kB / 318.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.1159, allocations: 0 / 379.3 MB, free: 460 kB / 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.2165/0.3324, allocations: 0.5761 MB / 379.8 MB, free: 13.02 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.699e-05/0.3325, allocations: 9.031 kB / 379.9 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001105/0.3326, allocations: 33.31 kB / 379.9 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005009/0.3331, allocations: 248.5 kB / 380.1 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.824e-05/0.3332, allocations: 17.78 kB / 380.1 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.521e-05/0.3333, allocations: 30.86 kB / 380.2 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005583/0.3338, allocations: 249.1 kB / 380.4 MB, free: 12.74 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/0.3339, allocations: 7.125 kB / 380.4 MB, free: 12.74 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.613e-05/0.3339, allocations: 13.19 kB / 380.4 MB, free: 12.73 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/0.3339, allocations: 9.031 kB / 380.4 MB, free: 12.73 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003808/0.3343, allocations: 176 kB / 380.6 MB, free: 12.73 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001176/0.3355, allocations: 0.7451 MB / 381.4 MB, free: 12.36 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004691/0.336, allocations: 274.1 kB / 381.6 MB, free: 12.31 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001952/0.3362, allocations: 127.5 kB / 381.8 MB, free: 12.29 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.379e-05/0.3362, allocations: 4.781 kB / 381.8 MB, free: 12.29 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.3363, allocations: 40.72 kB / 381.8 MB, free: 12.25 MB / 318.1 MB Notification: Performance of pre-optimization done (n=36): time 1.343e-06/0.3363, allocations: 1.375 kB / 381.8 MB, free: 12.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=48): time 0.003107/0.3394, allocations: 1.721 MB / 383.5 MB, free: 10.98 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.436e-05/0.3395, allocations: 85.16 kB / 383.6 MB, free: 10.89 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002147/0.3397, allocations: 183.7 kB / 383.8 MB, free: 10.76 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.3397, allocations: 36.2 kB / 383.8 MB, free: 10.72 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.781e-05/0.3398, allocations: 138.2 kB / 384 MB, free: 10.6 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001283/0.34, allocations: 185.1 kB / 384.1 MB, free: 10.46 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001284/0.3401, allocations: 74.06 kB / 384.2 MB, free: 10.41 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.3402, allocations: 338.3 kB / 384.5 MB, free: 10.09 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001912/0.3404, allocations: 105.8 kB / 384.6 MB, free: 10.05 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000238/0.3407, allocations: 162.1 kB / 384.8 MB, free: 9.965 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004005/0.3411, allocations: 283.9 kB / 385.1 MB, free: 9.816 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3411, allocations: 0 / 385.1 MB, free: 9.816 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005059/0.3416, allocations: 375.7 kB / 385.4 MB, free: 9.645 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.3416, allocations: 7.25 kB / 385.5 MB, free: 9.645 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.3416, allocations: 0 / 385.5 MB, free: 9.645 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/0.3417, allocations: 3.094 kB / 385.5 MB, free: 9.645 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003798/0.342, allocations: 104.1 kB / 385.6 MB, free: 9.637 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.3421, allocations: 3.312 kB / 385.6 MB, free: 9.637 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.3422, allocations: 11.12 kB / 385.6 MB, free: 9.629 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.317e-05/0.3422, allocations: 19.92 kB / 385.6 MB, free: 9.621 MB / 318.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.0001119/0.3423, allocations: 156.1 kB / 385.7 MB, free: 9.473 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.645e-05/0.3424, allocations: 35.28 kB / 385.8 MB, free: 9.453 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.207e-05/0.3425, allocations: 35.69 kB / 385.8 MB, free: 9.422 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.3425, allocations: 5.812 kB / 385.8 MB, free: 9.422 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.3425, allocations: 0 / 385.8 MB, free: 9.422 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.978e-06/0.3425, allocations: 4 kB / 385.8 MB, free: 9.422 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/0.3437, allocations: 0.9455 MB / 386.8 MB, free: 8.801 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.3437, allocations: 1.062 kB / 386.8 MB, free: 8.801 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003982/0.3441, allocations: 98.88 kB / 386.9 MB, free: 8.789 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.758e-06/0.3441, allocations: 2.812 kB / 386.9 MB, free: 8.789 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.6e-05/0.3441, allocations: 13.86 kB / 386.9 MB, free: 8.781 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.3441, allocations: 2.609 kB / 386.9 MB, free: 8.781 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.3441, allocations: 3.281 kB / 386.9 MB, free: 8.781 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000751/0.3449, allocations: 0.644 MB / 387.5 MB, free: 8.379 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.562e-05/0.345, allocations: 106 kB / 387.6 MB, free: 8.266 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.289e-05/0.345, allocations: 11.19 kB / 387.6 MB, free: 8.262 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/0.3452, allocations: 10.92 kB / 387.7 MB, free: 8.254 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.142e-05/0.3452, allocations: 35.92 kB / 387.7 MB, free: 8.242 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.353e-05/0.3453, allocations: 8 kB / 387.7 MB, free: 8.242 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001186/0.3454, allocations: 137.1 kB / 387.8 MB, free: 8.148 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3454, allocations: 0 / 387.8 MB, free: 8.148 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003847/0.3458, allocations: 77.88 kB / 387.9 MB, free: 8.137 MB / 318.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.0001431/0.346, allocations: 107.9 kB / 388 MB, free: 8.039 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005668/0.3465, allocations: 300.9 kB / 388.3 MB, free: 7.941 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3465, allocations: 1.188 kB / 388.3 MB, free: 7.941 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002354/0.3468, allocations: 153.4 kB / 388.5 MB, free: 7.895 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000612/0.3474, allocations: 77.92 kB / 388.5 MB, free: 7.859 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/0.3489, allocations: 1.014 MB / 389.5 MB, free: 7.156 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.3492, allocations: 0.7743 MB / 390.3 MB, free: 6.449 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.00014/0.3494, allocations: 31.86 kB / 390.4 MB, free: 6.441 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.422e-05/0.3495, allocations: 27.25 kB / 390.4 MB, free: 6.434 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3495, allocations: 0 / 390.4 MB, free: 6.434 MB / 318.1 MB Notification: Performance of Templates: time 0.008178/0.3577, allocations: 3.12 MB / 393.5 MB, free: 6.191 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches