Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002919/0.002925, allocations: 188.3 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.425/3.425, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.00181/0.001811, allocations: 94.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006016/0.0006017, allocations: 12 kB / 327 MB, free: 15.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1562, allocations: 47.58 MB / 374.5 MB, free: 15.45 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.004724/0.1611, allocations: 1.945 MB / 376.5 MB, free: 13.49 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001241/0.1624, allocations: 275.2 kB / 376.8 MB, free: 13.22 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002867/0.1627, allocations: 8 kB / 376.8 MB, free: 13.21 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001376/0.1629, allocations: 27.77 kB / 376.8 MB, free: 13.18 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004926/0.1634, allocations: 103.7 kB / 376.9 MB, free: 13.08 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003151/0.1637, allocations: 51.89 kB / 376.9 MB, free: 13.03 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000674/0.1644, allocations: 219.5 kB / 377.2 MB, free: 12.82 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003237/0.1648, allocations: 81.66 kB / 377.2 MB, free: 12.74 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002393/0.165, allocations: 99.64 kB / 377.3 MB, free: 12.64 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003513/0.1654, allocations: 119.5 kB / 377.5 MB, free: 12.52 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.025e-05/0.1655, allocations: 12 kB / 377.5 MB, free: 12.51 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.761e-05/0.1656, allocations: 16 kB / 377.5 MB, free: 12.5 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.873e-05/0.1657, allocations: 39.84 kB / 377.5 MB, free: 12.46 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001337/0.1658, allocations: 77.52 kB / 377.6 MB, free: 12.38 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005049/0.1664, allocations: 227.6 kB / 377.8 MB, free: 12.15 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.1664, allocations: 4 kB / 377.8 MB, free: 12.15 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.1664, allocations: 3.938 kB / 377.8 MB, free: 12.14 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.1664, allocations: 0 / 377.8 MB, free: 12.14 MB / 282.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.001482/0.1679, allocations: 0.5223 MB / 378.3 MB, free: 11.57 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/0.168, allocations: 12.03 kB / 378.4 MB, free: 11.56 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001248/0.1681, allocations: 31.62 kB / 378.4 MB, free: 11.53 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005089/0.1687, allocations: 234.7 kB / 378.6 MB, free: 11.26 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.513e-05/0.1687, allocations: 24.52 kB / 378.6 MB, free: 11.24 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.1689, allocations: 31.91 kB / 378.7 MB, free: 11.21 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009074/0.1698, allocations: 246.5 kB / 378.9 MB, free: 10.95 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.75e-05/0.1698, allocations: 11.98 kB / 378.9 MB, free: 10.94 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.86e-05/0.1699, allocations: 8 kB / 378.9 MB, free: 10.93 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.975e-05/0.1699, allocations: 8 kB / 378.9 MB, free: 10.93 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007047/0.1706, allocations: 175.9 kB / 379.1 MB, free: 10.75 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002268/0.1729, allocations: 0.7461 MB / 379.9 MB, free: 9.953 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009464/0.1739, allocations: 277.2 kB / 380.1 MB, free: 9.664 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.709e-05/0.174, allocations: 7.984 kB / 380.1 MB, free: 9.656 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.817e-05/0.1741, allocations: 38.5 kB / 380.2 MB, free: 9.609 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 4.288e-06/0.1741, allocations: 0 / 380.2 MB, free: 9.609 MB / 282.7 MB Notification: Performance of matching and sorting (n=48): time 0.005922/0.18, allocations: 1.704 MB / 381.9 MB, free: 7.73 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.291e-05/0.1802, allocations: 85.05 kB / 382 MB, free: 7.629 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003537/0.1806, allocations: 186.2 kB / 382.1 MB, free: 7.434 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.657e-05/0.1806, allocations: 33.7 kB / 382.2 MB, free: 7.395 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001981/0.1808, allocations: 203.1 kB / 382.4 MB, free: 7.191 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002722/0.1811, allocations: 169.5 kB / 382.5 MB, free: 7.023 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.097e-05/0.1812, allocations: 8 kB / 382.5 MB, free: 7.016 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002284/0.1815, allocations: 334.8 kB / 382.9 MB, free: 6.68 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000409/0.1819, allocations: 101.1 kB / 383 MB, free: 6.582 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004933/0.1824, allocations: 153.5 kB / 383.1 MB, free: 6.414 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005/0.1829, allocations: 126.3 kB / 383.2 MB, free: 6.293 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.183, allocations: 0 / 383.2 MB, free: 6.293 MB / 282.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001253/0.1842, allocations: 370.5 kB / 383.6 MB, free: 5.926 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/0.1843, allocations: 6.969 kB / 383.6 MB, free: 5.922 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.1843, allocations: 0 / 383.6 MB, free: 5.922 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.942e-05/0.1843, allocations: 4 kB / 383.6 MB, free: 5.918 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/0.1854, allocations: 99.89 kB / 383.7 MB, free: 5.82 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.958e-05/0.1854, allocations: 4 kB / 383.7 MB, free: 5.816 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003378/0.1858, allocations: 8 kB / 383.7 MB, free: 5.809 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.813e-05/0.1859, allocations: 16 kB / 383.7 MB, free: 5.793 MB / 282.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.0003382/0.1862, allocations: 153.7 kB / 383.9 MB, free: 5.633 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001718/0.1864, allocations: 35.73 kB / 383.9 MB, free: 5.598 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000161/0.1866, allocations: 45.8 kB / 384 MB, free: 5.555 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/0.1866, allocations: 4 kB / 384 MB, free: 5.551 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.1866, allocations: 0 / 384 MB, free: 5.551 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.1867, allocations: 0 / 384 MB, free: 5.551 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002989/0.1897, allocations: 0.9554 MB / 384.9 MB, free: 4.531 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.737e-06/0.1897, allocations: 0 / 384.9 MB, free: 4.531 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00113/0.1909, allocations: 95.89 kB / 385 MB, free: 4.438 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.758e-05/0.1909, allocations: 4 kB / 385 MB, free: 4.434 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.634e-05/0.191, allocations: 15.95 kB / 385 MB, free: 4.418 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-05/0.191, allocations: 12 kB / 385.1 MB, free: 4.406 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.191, allocations: 0 / 385.1 MB, free: 4.406 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001806/0.1929, allocations: 0.668 MB / 385.7 MB, free: 3.691 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001608/0.1931, allocations: 96.83 kB / 385.8 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.179e-05/0.1932, allocations: 11.98 kB / 385.8 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004473/0.1937, allocations: 11.94 kB / 385.8 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.1938, allocations: 31.91 kB / 385.9 MB, free: 3.523 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.418e-05/0.1939, allocations: 12 kB / 385.9 MB, free: 3.512 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002229/0.1941, allocations: 132.3 kB / 386 MB, free: 3.383 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.1941, allocations: 0 / 386 MB, free: 3.383 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009064/0.195, allocations: 80 kB / 386.1 MB, free: 3.305 MB / 282.7 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 (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.0002306/0.1953, allocations: 107.2 kB / 386.2 MB, free: 3.191 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001088/0.1964, allocations: 290.7 kB / 386.5 MB, free: 2.91 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.1964, allocations: 0 / 386.5 MB, free: 2.91 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005091/0.1969, allocations: 156.6 kB / 386.6 MB, free: 2.758 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.198, allocations: 56.16 kB / 386.7 MB, free: 2.703 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003729/0.2018, allocations: 1.24 MB / 387.9 MB, free: 1.418 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006738/0.2025, allocations: 0.7848 MB / 388.7 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002408/0.2028, allocations: 31.44 kB / 388.7 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of SimCode: time 1.623e-06/0.2028, allocations: 4 kB / 388.7 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of Templates: time 0.448/0.6508, allocations: 3.567 MB / 392.3 MB, free: 19.49 MB / 282.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches