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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.000975/0.000975, allocations: 180.8 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.474/1.474, allocations: 205.4 MB / 223.1 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 96.69 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002789/0.0002789, allocations: 4 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2406, allocations: 47.57 MB / 375.8 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08584/0.3264, allocations: 76.05 MB / 451.9 MB, free: 4.617 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002044/0.3267, allocations: 67.95 kB / 451.9 MB, free: 4.551 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01207/0.3388, allocations: 4.545 MB / 456.5 MB, free: 15.98 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3388, allocations: 0 / 456.5 MB, free: 15.98 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.291e-05/0.3388, allocations: 7.938 kB / 456.5 MB, free: 15.98 MB / 346.7 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.0006734/0.3395, allocations: 0.5186 MB / 457 MB, free: 15.41 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.3395, allocations: 8.031 kB / 457 MB, free: 15.4 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.153e-05/0.3396, allocations: 31.62 kB / 457 MB, free: 15.37 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002372/0.3399, allocations: 226.7 kB / 457.3 MB, free: 15.11 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.3399, allocations: 24.52 kB / 457.3 MB, free: 15.09 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.98e-05/0.3399, allocations: 27.94 kB / 457.3 MB, free: 15.06 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004032/0.3404, allocations: 250.6 kB / 457.6 MB, free: 14.8 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/0.3404, allocations: 7.906 kB / 457.6 MB, free: 14.79 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.3404, allocations: 8 kB / 457.6 MB, free: 14.79 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.3404, allocations: 15.98 kB / 457.6 MB, free: 14.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003015/0.3407, allocations: 171.9 kB / 457.8 MB, free: 14.6 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.3418, allocations: 0.7578 MB / 458.5 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003709/0.3422, allocations: 274.1 kB / 458.8 MB, free: 13.51 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.3422, allocations: 7.938 kB / 458.8 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.3422, allocations: 39.19 kB / 458.8 MB, free: 13.45 MB / 346.7 MB Notification: Performance of pre-optimization done (n=36): time 1.713e-06/0.3422, allocations: 0 / 458.8 MB, free: 13.45 MB / 346.7 MB Notification: Performance of matching and sorting (n=48): time 0.00267/0.3449, allocations: 1.718 MB / 460.5 MB, free: 11.57 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.373e-05/0.345, allocations: 81.11 kB / 460.6 MB, free: 11.47 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.3452, allocations: 161.5 kB / 460.8 MB, free: 11.3 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.3452, allocations: 33.7 kB / 460.8 MB, free: 11.27 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.3453, allocations: 144.6 kB / 461 MB, free: 11.12 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001315/0.3455, allocations: 169.5 kB / 461.1 MB, free: 10.95 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.683e-05/0.3455, allocations: 8 kB / 461.1 MB, free: 10.95 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.3456, allocations: 342.8 kB / 461.5 MB, free: 10.6 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001708/0.3458, allocations: 105 kB / 461.6 MB, free: 10.5 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001947/0.346, allocations: 149.5 kB / 461.7 MB, free: 10.34 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001987/0.3462, allocations: 126.3 kB / 461.8 MB, free: 10.22 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.3462, allocations: 0 / 461.8 MB, free: 10.22 MB / 346.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005319/0.3468, allocations: 374.4 kB / 462.2 MB, free: 9.848 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.3468, allocations: 8.062 kB / 462.2 MB, free: 9.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.3468, allocations: 4 kB / 462.2 MB, free: 9.836 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.3468, allocations: 4 kB / 462.2 MB, free: 9.832 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003811/0.3472, allocations: 99.89 kB / 462.3 MB, free: 9.734 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.3472, allocations: 4 kB / 462.3 MB, free: 9.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.3474, allocations: 8 kB / 462.3 MB, free: 9.723 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/0.3474, allocations: 19.94 kB / 462.3 MB, free: 9.703 MB / 346.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000145/0.3475, allocations: 145.8 kB / 462.5 MB, free: 9.551 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.014e-05/0.3476, allocations: 31.67 kB / 462.5 MB, free: 9.52 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.314e-05/0.3477, allocations: 41.86 kB / 462.6 MB, free: 9.473 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-06/0.3477, allocations: 7.938 kB / 462.6 MB, free: 9.465 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.3477, allocations: 0 / 462.6 MB, free: 9.465 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.3478, allocations: 7.984 kB / 462.6 MB, free: 9.457 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001306/0.3491, allocations: 0.9516 MB / 463.5 MB, free: 8.441 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.3491, allocations: 4 kB / 463.5 MB, free: 8.438 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004181/0.3495, allocations: 95.83 kB / 463.6 MB, free: 8.344 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.3495, allocations: 0 / 463.6 MB, free: 8.344 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.948e-05/0.3496, allocations: 15.95 kB / 463.6 MB, free: 8.328 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.121e-06/0.3496, allocations: 8.062 kB / 463.6 MB, free: 8.32 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.3496, allocations: 0 / 463.6 MB, free: 8.32 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007416/0.3503, allocations: 0.668 MB / 464.3 MB, free: 7.609 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.3504, allocations: 100.8 kB / 464.4 MB, free: 7.492 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.887e-05/0.3505, allocations: 15.94 kB / 464.4 MB, free: 7.477 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001722/0.3507, allocations: 8 kB / 464.4 MB, free: 7.469 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.549e-05/0.3507, allocations: 23.97 kB / 464.5 MB, free: 7.445 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.316e-05/0.3508, allocations: 15.98 kB / 464.5 MB, free: 7.43 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001193/0.3509, allocations: 132.3 kB / 464.6 MB, free: 7.301 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3509, allocations: 0 / 464.6 MB, free: 7.301 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003847/0.3513, allocations: 80 kB / 464.7 MB, free: 7.223 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (sd2.s_rel,sd2.v_rel,m4.s,m4.v,m1.s,m1.v,sd1.s_rel,sd1.v_rel) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001822/0.3515, allocations: 123.1 kB / 464.8 MB, free: 7.094 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000522/0.352, allocations: 286.7 kB / 465.1 MB, free: 6.812 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.352, allocations: 0 / 465.1 MB, free: 6.812 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002149/0.3522, allocations: 156.6 kB / 465.2 MB, free: 6.66 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005316/0.3528, allocations: 52.33 kB / 465.3 MB, free: 6.609 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002073/0.3549, allocations: 1.226 MB / 466.5 MB, free: 5.348 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004652/0.3553, allocations: 0.7806 MB / 467.3 MB, free: 4.539 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001733/0.3555, allocations: 30.97 kB / 467.3 MB, free: 4.508 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.275e-05/0.3556, allocations: 27.44 kB / 467.4 MB, free: 4.484 MB / 346.7 MB Notification: Performance of SimCode: time 2.91e-07/0.3556, allocations: 0 / 467.4 MB, free: 4.484 MB / 346.7 MB Notification: Performance of Templates: time 0.006729/0.3623, allocations: 2.758 MB / 470.1 MB, free: 1.75 MB / 346.7 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","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches