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.001656/0.001656, allocations: 117.7 kB / 18.46 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.001993/0.001993, allocations: 204.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 59.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3451, allocations: 50.54 MB / 409.9 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003766/0.3489, allocations: 2.482 MB / 412.4 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005189/0.3495, allocations: 263 kB / 412.7 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.3496, allocations: 12 kB / 412.7 MB, free: 14.78 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001599/0.3498, allocations: 43.52 kB / 412.7 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001658/0.35, allocations: 91.17 kB / 412.8 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001931/0.3502, allocations: 59.92 kB / 412.9 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003299/0.3505, allocations: 322.5 kB / 413.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002102/0.3507, allocations: 99.11 kB / 413.3 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.3509, allocations: 115.6 kB / 413.4 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001868/0.3511, allocations: 135.4 kB / 413.5 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.978e-05/0.3511, allocations: 24 kB / 413.5 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.697e-05/0.3512, allocations: 24 kB / 413.6 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.898e-05/0.3512, allocations: 55.83 kB / 413.6 MB, free: 13.81 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001419/0.3514, allocations: 155.2 kB / 413.8 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003256/0.3517, allocations: 316 kB / 414.1 MB, free: 13.36 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.3517, allocations: 3.984 kB / 414.1 MB, free: 13.35 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.3517, allocations: 0 / 414.1 MB, free: 13.35 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.279e-05/0.3517, allocations: 0 / 414.1 MB, free: 13.35 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.0008446/0.3526, allocations: 0.5614 MB / 414.6 MB, free: 12.74 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.3526, allocations: 12.03 kB / 414.7 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.721e-05/0.3527, allocations: 32.56 kB / 414.7 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003362/0.3531, allocations: 259.7 kB / 414.9 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.3531, allocations: 20.94 kB / 415 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.579e-05/0.3531, allocations: 28.38 kB / 415 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004223/0.3536, allocations: 259.1 kB / 415.2 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.3536, allocations: 8.031 kB / 415.3 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.563e-05/0.3536, allocations: 15.94 kB / 415.3 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.3536, allocations: 4 kB / 415.3 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002808/0.3539, allocations: 175.9 kB / 415.4 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.355, allocations: 0.7422 MB / 416.2 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003944/0.3554, allocations: 275.6 kB / 416.5 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/0.3556, allocations: 129.7 kB / 416.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.3556, allocations: 4 kB / 416.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.3556, allocations: 30.56 kB / 416.6 MB, free: 10.64 MB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 1.523e-06/0.3556, allocations: 0 / 416.6 MB, free: 10.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.002604/0.3583, allocations: 1.722 MB / 418.3 MB, free: 8.742 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.244e-05/0.3583, allocations: 81.11 kB / 418.4 MB, free: 8.645 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.3585, allocations: 191.1 kB / 418.6 MB, free: 8.449 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.3585, allocations: 37.64 kB / 418.6 MB, free: 8.406 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.384e-05/0.3586, allocations: 136.7 kB / 418.8 MB, free: 8.27 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/0.3588, allocations: 173.4 kB / 418.9 MB, free: 8.098 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.3589, allocations: 78.25 kB / 419 MB, free: 8.012 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.359, allocations: 338.8 kB / 419.3 MB, free: 7.672 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001632/0.3592, allocations: 105.1 kB / 419.5 MB, free: 7.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002035/0.3594, allocations: 157.5 kB / 419.6 MB, free: 7.402 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000384/0.3598, allocations: 286.1 kB / 419.9 MB, free: 7.113 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.3598, allocations: 0 / 419.9 MB, free: 7.113 MB / 334.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004939/0.3603, allocations: 365.8 kB / 420.2 MB, free: 6.75 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.3603, allocations: 4 kB / 420.2 MB, free: 6.746 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.3603, allocations: 8.062 kB / 420.3 MB, free: 6.738 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.3604, allocations: 0 / 420.3 MB, free: 6.738 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003673/0.3607, allocations: 103.8 kB / 420.4 MB, free: 6.637 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.3607, allocations: 0 / 420.4 MB, free: 6.637 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.3609, allocations: 12 kB / 420.4 MB, free: 6.625 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/0.3609, allocations: 16 kB / 420.4 MB, free: 6.609 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.0001435/0.361, allocations: 149.8 kB / 420.5 MB, free: 6.453 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.081e-05/0.3611, allocations: 39.64 kB / 420.6 MB, free: 6.414 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.564e-05/0.3612, allocations: 37.88 kB / 420.6 MB, free: 6.375 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.3612, allocations: 11.94 kB / 420.6 MB, free: 6.363 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.3612, allocations: 0 / 420.6 MB, free: 6.363 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.3612, allocations: 7.984 kB / 420.6 MB, free: 6.355 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0015/0.3627, allocations: 0.9429 MB / 421.6 MB, free: 5.352 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3628, allocations: 4 kB / 421.6 MB, free: 5.348 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004031/0.3632, allocations: 95.97 kB / 421.7 MB, free: 5.254 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.3632, allocations: 4 kB / 421.7 MB, free: 5.25 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.729e-05/0.3632, allocations: 15.92 kB / 421.7 MB, free: 5.234 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.3632, allocations: 4 kB / 421.7 MB, free: 5.23 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3632, allocations: 0 / 421.7 MB, free: 5.23 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007285/0.364, allocations: 0.6434 MB / 422.3 MB, free: 4.566 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.236e-05/0.364, allocations: 100.8 kB / 422.4 MB, free: 4.449 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.599e-05/0.3641, allocations: 12 kB / 422.4 MB, free: 4.438 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/0.3643, allocations: 8 kB / 422.4 MB, free: 4.43 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.233e-05/0.3643, allocations: 31.89 kB / 422.5 MB, free: 4.398 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.3643, allocations: 12 kB / 422.5 MB, free: 4.387 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.392e-05/0.3644, allocations: 135.1 kB / 422.6 MB, free: 4.254 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3644, allocations: 0 / 422.6 MB, free: 4.254 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003527/0.3648, allocations: 76 kB / 422.7 MB, free: 4.18 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.0001291/0.3649, allocations: 119.3 kB / 422.8 MB, free: 4.051 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004586/0.3654, allocations: 300.4 kB / 423.1 MB, free: 3.758 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3654, allocations: 0 / 423.1 MB, free: 3.758 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002077/0.3656, allocations: 159.6 kB / 423.3 MB, free: 3.602 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006018/0.3662, allocations: 70.38 kB / 423.3 MB, free: 3.535 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00148/0.3677, allocations: 1.014 MB / 424.3 MB, free: 2.48 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/0.3681, allocations: 0.7764 MB / 425.1 MB, free: 1.668 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.825e-05/0.3682, allocations: 31.44 kB / 425.2 MB, free: 1.637 MB / 334.1 MB Notification: Performance of SimCode: time 1.903e-06/0.3682, allocations: 0 / 425.2 MB, free: 1.637 MB / 334.1 MB Notification: Performance of Templates: time 0.005792/0.374, allocations: 3.759 MB / 428.9 MB, free: 13.89 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