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.001219/0.001219, allocations: 172.9 kB / 14.1 MB, free: 1.223 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.889/1.889, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0009816/0.0009817, allocations: 82.64 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.017e-05/3.03e-05, allocations: 8 kB / 322.5 MB, free: 17.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1111, allocations: 47.57 MB / 370 MB, free: 1.711 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3687/0.4799, allocations: 75.96 MB / 446 MB, free: 1.277 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/0.4803, allocations: 59.22 kB / 446 MB, free: 1.246 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01232/0.4926, allocations: 4.56 MB / 450.6 MB, free: 13.43 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.601e-06/0.4927, allocations: 4 kB / 450.6 MB, free: 13.42 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.709e-05/0.4927, allocations: 4 kB / 450.6 MB, free: 13.42 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.0007176/0.4934, allocations: 0.496 MB / 451.1 MB, free: 12.89 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.772e-05/0.4935, allocations: 8.031 kB / 451.1 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.469e-05/0.4936, allocations: 31.66 kB / 451.1 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003092/0.4939, allocations: 241.6 kB / 451.4 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.081e-05/0.4939, allocations: 19.39 kB / 451.4 MB, free: 12.58 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.299e-05/0.494, allocations: 31.19 kB / 451.4 MB, free: 12.56 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004419/0.4945, allocations: 243.1 kB / 451.7 MB, free: 12.38 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/0.4945, allocations: 0 / 451.7 MB, free: 12.38 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.576e-05/0.4945, allocations: 15.45 kB / 451.7 MB, free: 12.37 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.4945, allocations: 4 kB / 451.7 MB, free: 12.37 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000286/0.4948, allocations: 173.1 kB / 451.8 MB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.4959, allocations: 0.7548 MB / 452.6 MB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004194/0.4963, allocations: 267 kB / 452.9 MB, free: 11.36 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/0.4965, allocations: 120.4 kB / 453 MB, free: 11.28 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.685e-05/0.4965, allocations: 4 kB / 453 MB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.4966, allocations: 36.14 kB / 453 MB, free: 11.23 MB / 330.7 MB Notification: Performance of pre-optimization done (n=36): time 1.553e-06/0.4966, allocations: 0 / 453 MB, free: 11.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=48): time 0.002516/0.4991, allocations: 1.632 MB / 454.7 MB, free: 9.676 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/0.4992, allocations: 85.09 kB / 454.7 MB, free: 9.574 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.4993, allocations: 159.4 kB / 454.9 MB, free: 9.43 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.06e-05/0.4994, allocations: 32.77 kB / 454.9 MB, free: 9.398 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.4995, allocations: 140.9 kB / 455.1 MB, free: 9.277 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001392/0.4997, allocations: 171.4 kB / 455.2 MB, free: 9.129 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.69e-05/0.4997, allocations: 9.812 kB / 455.2 MB, free: 9.125 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.4998, allocations: 341.3 kB / 455.6 MB, free: 8.797 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/0.5, allocations: 96.44 kB / 455.7 MB, free: 8.738 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002041/0.5002, allocations: 150 kB / 455.8 MB, free: 8.621 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000207/0.5004, allocations: 123.2 kB / 455.9 MB, free: 8.543 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.5005, allocations: 4 kB / 455.9 MB, free: 8.539 MB / 330.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005028/0.501, allocations: 363.4 kB / 456.3 MB, free: 8.188 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.501, allocations: 7.984 kB / 456.3 MB, free: 8.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.501, allocations: 0 / 456.3 MB, free: 8.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.501, allocations: 4 kB / 456.3 MB, free: 8.176 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004007/0.5014, allocations: 95.91 kB / 456.4 MB, free: 8.082 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.773e-05/0.5015, allocations: 15.86 kB / 456.4 MB, free: 8.066 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.5016, allocations: 16 kB / 456.4 MB, free: 8.051 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.294e-05/0.5016, allocations: 12 kB / 456.4 MB, free: 8.039 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.000105/0.5017, allocations: 129 kB / 456.6 MB, free: 7.906 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.309e-05/0.5018, allocations: 27.67 kB / 456.6 MB, free: 7.879 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001072/0.5019, allocations: 37.66 kB / 456.6 MB, free: 7.836 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.5019, allocations: 8 kB / 456.6 MB, free: 7.828 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.5019, allocations: 0 / 456.6 MB, free: 7.828 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.502, allocations: 7.922 kB / 456.6 MB, free: 7.82 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001281/0.5032, allocations: 0.9478 MB / 457.6 MB, free: 6.809 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.5033, allocations: 0 / 457.6 MB, free: 6.809 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004074/0.5037, allocations: 99.84 kB / 457.7 MB, free: 6.711 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.5037, allocations: 4.062 kB / 457.7 MB, free: 6.707 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.629e-05/0.5037, allocations: 15.94 kB / 457.7 MB, free: 6.691 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/0.5037, allocations: 4 kB / 457.7 MB, free: 6.688 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5037, allocations: 0 / 457.7 MB, free: 6.688 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008169/0.5046, allocations: 0.6606 MB / 458.4 MB, free: 5.984 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.001e-05/0.5046, allocations: 104.7 kB / 458.5 MB, free: 5.863 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.182e-05/0.5047, allocations: 12 kB / 458.5 MB, free: 5.852 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.5049, allocations: 8 kB / 458.5 MB, free: 5.844 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.11e-05/0.5049, allocations: 23.97 kB / 458.5 MB, free: 5.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-05/0.5049, allocations: 16 kB / 458.5 MB, free: 5.805 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001115/0.5051, allocations: 132.3 kB / 458.7 MB, free: 5.676 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5051, allocations: 4 kB / 458.7 MB, free: 5.672 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003538/0.5054, allocations: 80 kB / 458.7 MB, free: 5.594 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.0001739/0.5056, allocations: 111.1 kB / 458.9 MB, free: 5.473 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004432/0.5061, allocations: 282.8 kB / 459.1 MB, free: 5.195 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.5061, allocations: 0 / 459.1 MB, free: 5.195 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001934/0.5063, allocations: 152.6 kB / 459.3 MB, free: 5.047 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004625/0.5067, allocations: 49.09 kB / 459.3 MB, free: 5 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/0.5082, allocations: 0.9048 MB / 460.2 MB, free: 4.066 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/0.5085, allocations: 0.7806 MB / 461 MB, free: 3.254 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001373/0.5087, allocations: 26.97 kB / 461 MB, free: 3.223 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.977e-05/0.5088, allocations: 27.44 kB / 461.1 MB, free: 3.195 MB / 330.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5088, allocations: 0 / 461.1 MB, free: 3.195 MB / 330.7 MB Notification: Performance of Templates: time 0.006337/0.5151, allocations: 2.774 MB / 463.8 MB, free: 440 kB / 330.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