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.002365/0.002366, allocations: 180.1 kB / 13.66 MB, free: 1.66 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.165/2.165, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001118/0.001118, allocations: 94.62 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.151e-05/3.166e-05, allocations: 0 / 321.5 MB, free: 17.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09368/0.09374, allocations: 47.58 MB / 369.1 MB, free: 2.215 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4066/0.5004, allocations: 75.97 MB / 445.1 MB, free: 1.168 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/0.5007, allocations: 66.2 kB / 445.1 MB, free: 1.133 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01972/0.5204, allocations: 4.553 MB / 449.7 MB, free: 13.32 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.5205, allocations: 0 / 449.7 MB, free: 13.32 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.353e-05/0.5205, allocations: 8 kB / 449.7 MB, free: 13.31 MB / 330.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.0009287/0.5215, allocations: 499.2 kB / 450.2 MB, free: 12.8 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.5215, allocations: 8.031 kB / 450.2 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.242e-05/0.5216, allocations: 27.72 kB / 450.2 MB, free: 12.76 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003411/0.522, allocations: 238.6 kB / 450.4 MB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.906e-05/0.522, allocations: 23.83 kB / 450.5 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.93e-05/0.5221, allocations: 26.88 kB / 450.5 MB, free: 12.47 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006025/0.5227, allocations: 247.4 kB / 450.7 MB, free: 12.28 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.587e-05/0.5228, allocations: 4.141 kB / 450.7 MB, free: 12.28 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.68e-05/0.5228, allocations: 15 kB / 450.7 MB, free: 12.27 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.5228, allocations: 4 kB / 450.7 MB, free: 12.27 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004726/0.5233, allocations: 168 kB / 450.9 MB, free: 12.15 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00153/0.5249, allocations: 0.7596 MB / 451.7 MB, free: 11.47 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005947/0.5255, allocations: 260.4 kB / 451.9 MB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002791/0.5258, allocations: 124.4 kB / 452 MB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.291e-05/0.5258, allocations: 2.188 kB / 452 MB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.5259, allocations: 34.56 kB / 452.1 MB, free: 11.14 MB / 330.7 MB Notification: Performance of pre-optimization done (n=36): time 2.966e-06/0.5259, allocations: 4 kB / 452.1 MB, free: 11.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=48): time 0.003942/0.5299, allocations: 1.627 MB / 453.7 MB, free: 9.582 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.156e-05/0.53, allocations: 85.05 kB / 453.8 MB, free: 9.48 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.5302, allocations: 163.9 kB / 454 MB, free: 9.332 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.025e-05/0.5303, allocations: 32.7 kB / 454 MB, free: 9.301 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.5304, allocations: 197.7 kB / 454.2 MB, free: 9.121 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001816/0.5306, allocations: 179 kB / 454.4 MB, free: 8.969 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.236e-05/0.5306, allocations: 7 kB / 454.4 MB, free: 8.969 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.5308, allocations: 334.3 kB / 454.7 MB, free: 8.641 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002686/0.5311, allocations: 96.44 kB / 454.8 MB, free: 8.582 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003249/0.5314, allocations: 152 kB / 454.9 MB, free: 8.465 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003238/0.5317, allocations: 119.5 kB / 455 MB, free: 8.391 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.5318, allocations: 8 kB / 455.1 MB, free: 8.383 MB / 330.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008484/0.5326, allocations: 349.8 kB / 455.4 MB, free: 8.121 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.5327, allocations: 4 kB / 455.4 MB, free: 8.117 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.5327, allocations: 0 / 455.4 MB, free: 8.117 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.5327, allocations: 4 kB / 455.4 MB, free: 8.113 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007533/0.5335, allocations: 106.9 kB / 455.5 MB, free: 8.012 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.5335, allocations: 3.938 kB / 455.5 MB, free: 8.008 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002261/0.5337, allocations: 13.5 kB / 455.5 MB, free: 8.004 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.59e-05/0.5338, allocations: 15.38 kB / 455.5 MB, free: 7.992 MB / 330.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 () * 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.0001349/0.5339, allocations: 126.2 kB / 455.7 MB, free: 7.875 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.534, allocations: 27.67 kB / 455.7 MB, free: 7.848 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001338/0.5342, allocations: 48.19 kB / 455.7 MB, free: 7.82 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.5342, allocations: 8 kB / 455.7 MB, free: 7.812 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.729e-06/0.5342, allocations: 0 / 455.7 MB, free: 7.812 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.5342, allocations: 3.938 kB / 455.8 MB, free: 7.809 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001934/0.5362, allocations: 0.9425 MB / 456.7 MB, free: 6.984 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.5362, allocations: 4 kB / 456.7 MB, free: 6.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008694/0.5371, allocations: 97.77 kB / 456.8 MB, free: 6.891 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.157e-05/0.5371, allocations: 8 kB / 456.8 MB, free: 6.883 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.419e-05/0.5372, allocations: 10.27 kB / 456.8 MB, free: 6.879 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.5372, allocations: 4 kB / 456.8 MB, free: 6.875 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.5372, allocations: 0 / 456.8 MB, free: 6.875 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001211/0.5384, allocations: 0.6706 MB / 457.5 MB, free: 6.293 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.5386, allocations: 96.83 kB / 457.6 MB, free: 6.18 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.018e-05/0.5387, allocations: 10.88 kB / 457.6 MB, free: 6.176 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002752/0.5389, allocations: 6.875 kB / 457.6 MB, free: 6.176 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.564e-05/0.539, allocations: 26.84 kB / 457.6 MB, free: 6.152 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-05/0.5391, allocations: 13.11 kB / 457.6 MB, free: 6.141 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001655/0.5392, allocations: 136.3 kB / 457.8 MB, free: 6.008 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5392, allocations: 0 / 457.8 MB, free: 6.008 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005257/0.5398, allocations: 76 kB / 457.8 MB, free: 5.934 MB / 330.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 () * 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.0001942/0.54, allocations: 119.1 kB / 458 MB, free: 5.805 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007679/0.5408, allocations: 286.7 kB / 458.2 MB, free: 5.523 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.5408, allocations: 0 / 458.2 MB, free: 5.523 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003466/0.5411, allocations: 152.6 kB / 458.4 MB, free: 5.375 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006435/0.5418, allocations: 53.11 kB / 458.4 MB, free: 5.324 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002127/0.5439, allocations: 0.9338 MB / 459.4 MB, free: 4.355 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004883/0.5445, allocations: 0.7806 MB / 460.2 MB, free: 3.543 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001574/0.5446, allocations: 31.44 kB / 460.2 MB, free: 3.512 MB / 330.7 MB Notification: Performance of SimCode: time 9.52e-07/0.5446, allocations: 0 / 460.2 MB, free: 3.512 MB / 330.7 MB Notification: Performance of Templates: time 0.009127/0.5538, allocations: 3.54 MB / 463.7 MB, free: 15.97 MB / 346.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