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.001544/0.001543, allocations: 186.3 kB / 16.4 MB, free: 5.75 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.913/1.913, allocations: 205.4 MB / 222.5 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.001161/0.001161, allocations: 92.08 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005154/0.0005154, allocations: 8 kB / 327 MB, free: 212 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3362, allocations: 47.57 MB / 374.5 MB, free: 45.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1241/0.4603, allocations: 76.05 MB / 450.6 MB, free: 4.723 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002719/0.4607, allocations: 67.97 kB / 450.7 MB, free: 4.656 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01934/0.48, allocations: 4.552 MB / 455.2 MB, free: 84 kB / 330.7 MB Notification: Performance of FrontEnd: time 2.215e-06/0.4801, allocations: 0 / 455.2 MB, free: 84 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.959e-05/0.4801, allocations: 4 kB / 455.2 MB, free: 80 kB / 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.001014/0.4811, allocations: 0.5186 MB / 455.7 MB, free: 15.51 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.4812, allocations: 8.031 kB / 455.7 MB, free: 15.5 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.502e-05/0.4813, allocations: 31.62 kB / 455.8 MB, free: 15.47 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003115/0.4816, allocations: 226.7 kB / 456 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.282e-05/0.4817, allocations: 24.52 kB / 456 MB, free: 15.19 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.97e-05/0.4818, allocations: 24 kB / 456 MB, free: 15.16 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006353/0.4824, allocations: 258.5 kB / 456.3 MB, free: 14.9 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.796e-05/0.4824, allocations: 7.906 kB / 456.3 MB, free: 14.89 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.621e-05/0.4825, allocations: 8 kB / 456.3 MB, free: 14.88 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.4825, allocations: 8 kB / 456.3 MB, free: 14.88 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004834/0.483, allocations: 171.9 kB / 456.5 MB, free: 14.71 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001534/0.4846, allocations: 0.7617 MB / 457.2 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006208/0.4852, allocations: 270.4 kB / 457.5 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.464e-05/0.4852, allocations: 3.984 kB / 457.5 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.081e-05/0.4853, allocations: 47.12 kB / 457.6 MB, free: 13.55 MB / 346.7 MB Notification: Performance of pre-optimization done (n=36): time 3.457e-06/0.4853, allocations: 0 / 457.6 MB, free: 13.55 MB / 346.7 MB Notification: Performance of matching and sorting (n=48): time 0.004141/0.4895, allocations: 1.706 MB / 459.3 MB, free: 11.68 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.61e-05/0.4896, allocations: 88.98 kB / 459.3 MB, free: 11.57 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000229/0.4898, allocations: 161.5 kB / 459.5 MB, free: 11.41 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.015e-05/0.4899, allocations: 33.7 kB / 459.5 MB, free: 11.37 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001561/0.49, allocations: 203 kB / 459.7 MB, free: 11.17 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001844/0.4902, allocations: 173.5 kB / 459.9 MB, free: 11 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.342e-05/0.4903, allocations: 12 kB / 459.9 MB, free: 10.98 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.4905, allocations: 326.8 kB / 460.2 MB, free: 10.66 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002907/0.4908, allocations: 105 kB / 460.3 MB, free: 10.55 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003368/0.4911, allocations: 149.5 kB / 460.5 MB, free: 10.39 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003485/0.4915, allocations: 130.3 kB / 460.6 MB, free: 10.27 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4915, allocations: 0 / 460.6 MB, free: 10.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008529/0.4923, allocations: 366.6 kB / 461 MB, free: 9.906 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.4924, allocations: 6.031 kB / 461 MB, free: 9.902 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.4924, allocations: 0 / 461 MB, free: 9.902 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.4924, allocations: 4 kB / 461 MB, free: 9.898 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007238/0.4932, allocations: 99.89 kB / 461.1 MB, free: 9.801 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/0.4932, allocations: 4 kB / 461.1 MB, free: 9.797 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002134/0.4934, allocations: 8 kB / 461.1 MB, free: 9.789 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/0.4935, allocations: 16.06 kB / 461.1 MB, free: 9.773 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.0002294/0.4937, allocations: 157.7 kB / 461.3 MB, free: 9.609 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.4938, allocations: 35.56 kB / 461.3 MB, free: 9.574 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001166/0.4939, allocations: 37.88 kB / 461.3 MB, free: 9.531 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.494, allocations: 4 kB / 461.3 MB, free: 9.527 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.494, allocations: 0 / 461.3 MB, free: 9.527 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.494, allocations: 3.984 kB / 461.3 MB, free: 9.523 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002016/0.496, allocations: 0.9516 MB / 462.3 MB, free: 8.508 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.4961, allocations: 4.062 kB / 462.3 MB, free: 8.504 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008281/0.4969, allocations: 95.89 kB / 462.4 MB, free: 8.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.999e-06/0.4969, allocations: 7.938 kB / 462.4 MB, free: 8.402 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.979e-05/0.497, allocations: 15.95 kB / 462.4 MB, free: 8.387 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.433e-06/0.497, allocations: 4 kB / 462.4 MB, free: 8.383 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/0.497, allocations: 3.984 kB / 462.4 MB, free: 8.379 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/0.4983, allocations: 0.668 MB / 463.1 MB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.4984, allocations: 96.83 kB / 463.2 MB, free: 7.555 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.906e-05/0.4985, allocations: 8 kB / 463.2 MB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002631/0.4987, allocations: 8 kB / 463.2 MB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.648e-05/0.4988, allocations: 35.89 kB / 463.2 MB, free: 7.504 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.162e-05/0.4989, allocations: 16 kB / 463.2 MB, free: 7.488 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001524/0.499, allocations: 128.3 kB / 463.4 MB, free: 7.363 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.499, allocations: 0 / 463.4 MB, free: 7.363 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005336/0.4996, allocations: 84 kB / 463.5 MB, free: 7.281 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.0001742/0.4998, allocations: 111.1 kB / 463.6 MB, free: 7.164 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007286/0.5005, allocations: 294.6 kB / 463.9 MB, free: 6.875 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.5005, allocations: 0 / 463.9 MB, free: 6.875 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003561/0.5009, allocations: 160.7 kB / 464 MB, free: 6.719 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006446/0.5015, allocations: 53.98 kB / 464.1 MB, free: 6.668 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002517/0.5041, allocations: 1.248 MB / 465.3 MB, free: 5.379 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004841/0.5046, allocations: 0.7806 MB / 466.1 MB, free: 4.57 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001586/0.5048, allocations: 31.44 kB / 466.1 MB, free: 4.543 MB / 346.7 MB Notification: Performance of SimCode: time 8.42e-07/0.5048, allocations: 0 / 466.1 MB, free: 4.543 MB / 346.7 MB Notification: Performance of Templates: time 0.008695/0.5135, allocations: 3.534 MB / 469.7 MB, free: 1.016 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