Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00252/0.002519, allocations: 202.1 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.772/1.772, allocations: 225.6 MB / 234.8 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001119/0.001119, allocations: 98.84 kB / 286.7 MB, free: 5.312 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.864e-05/1.866e-05, allocations: 0 / 343.7 MB, free: 8.277 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1221, allocations: 51.48 MB / 395.2 MB, free: 4.758 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4692/0.5913, allocations: 77.32 MB / 472.5 MB, free: 14.23 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002349/0.5916, allocations: 64.66 kB / 472.5 MB, free: 14.2 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01194/0.6036, allocations: 4.651 MB / 477.2 MB, free: 11.58 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.6036, allocations: 0 / 477.2 MB, free: 11.58 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.949e-05/0.6037, allocations: 4 kB / 477.2 MB, free: 11.57 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.0007516/0.6044, allocations: 0.4931 MB / 477.7 MB, free: 11.09 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.6045, allocations: 13.91 kB / 477.7 MB, free: 11.07 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.486e-05/0.6046, allocations: 27.91 kB / 477.7 MB, free: 11.05 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002657/0.6048, allocations: 233.1 kB / 478 MB, free: 10.8 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.6049, allocations: 8 kB / 478 MB, free: 10.8 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.532e-05/0.6049, allocations: 24.19 kB / 478 MB, free: 10.78 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000304/0.6052, allocations: 152.1 kB / 478.1 MB, free: 10.69 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003298/0.6056, allocations: 212.8 kB / 478.3 MB, free: 10.54 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.6056, allocations: 3.562 kB / 478.3 MB, free: 10.54 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.071e-05/0.6056, allocations: 0 / 478.3 MB, free: 10.54 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.6056, allocations: 8 kB / 478.4 MB, free: 10.54 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000908/0.6065, allocations: 0.6929 MB / 479 MB, free: 10.02 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003163/0.6069, allocations: 246.5 kB / 479.3 MB, free: 9.84 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/0.607, allocations: 107.3 kB / 479.4 MB, free: 9.766 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.6071, allocations: 11.89 kB / 479.4 MB, free: 9.754 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.6071, allocations: 37.75 kB / 479.4 MB, free: 9.711 MB / 346.7 MB Notification: Performance of pre-optimization done (n=36): time 1.462e-06/0.6071, allocations: 4 kB / 479.4 MB, free: 9.707 MB / 346.7 MB Notification: Performance of matching and sorting (n=48): time 0.002014/0.6091, allocations: 1.484 MB / 480.9 MB, free: 8.34 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.6092, allocations: 81.11 kB / 481 MB, free: 8.242 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.6093, allocations: 150.6 kB / 481.2 MB, free: 8.113 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.6094, allocations: 29.42 kB / 481.2 MB, free: 8.082 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.335e-05/0.6094, allocations: 142.6 kB / 481.3 MB, free: 7.969 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.072e-05/0.6095, allocations: 166.1 kB / 481.5 MB, free: 7.84 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.226e-05/0.6095, allocations: 0 / 481.5 MB, free: 7.84 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.753e-05/0.6096, allocations: 343.2 kB / 481.8 MB, free: 7.516 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.6098, allocations: 92.06 kB / 481.9 MB, free: 7.461 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/0.6099, allocations: 134 kB / 482 MB, free: 7.359 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001648/0.6101, allocations: 115.7 kB / 482.2 MB, free: 7.301 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.6101, allocations: 0 / 482.2 MB, free: 7.301 MB / 346.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004027/0.6105, allocations: 324.2 kB / 482.5 MB, free: 7.07 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.6106, allocations: 4 kB / 482.5 MB, free: 7.066 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.6106, allocations: 4 kB / 482.5 MB, free: 7.062 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.6106, allocations: 0 / 482.5 MB, free: 7.062 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003603/0.611, allocations: 107.8 kB / 482.6 MB, free: 6.973 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.611, allocations: 0 / 482.6 MB, free: 6.973 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.85e-05/0.6111, allocations: 4 kB / 482.6 MB, free: 6.969 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.6111, allocations: 8 kB / 482.6 MB, free: 6.961 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 () * 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 8.354e-05/0.6112, allocations: 116.2 kB / 482.7 MB, free: 6.844 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.087e-05/0.6113, allocations: 31.73 kB / 482.7 MB, free: 6.812 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.117e-05/0.6113, allocations: 31.09 kB / 482.8 MB, free: 6.805 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.6114, allocations: 9.547 kB / 482.8 MB, free: 6.797 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.268e-06/0.6114, allocations: 0 / 482.8 MB, free: 6.797 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.6114, allocations: 1.219 kB / 482.8 MB, free: 6.797 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009607/0.6124, allocations: 0.8608 MB / 483.6 MB, free: 6.082 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.6124, allocations: 4 kB / 483.6 MB, free: 6.078 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003827/0.6128, allocations: 101.9 kB / 483.7 MB, free: 5.984 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.6128, allocations: 4 kB / 483.7 MB, free: 5.98 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.6128, allocations: 0 / 483.7 MB, free: 5.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.6128, allocations: 8.062 kB / 483.8 MB, free: 5.973 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.6128, allocations: 5.734 kB / 483.8 MB, free: 5.969 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005706/0.6134, allocations: 0.6279 MB / 484.4 MB, free: 5.418 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.055e-05/0.6135, allocations: 96.83 kB / 484.5 MB, free: 5.305 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.62e-05/0.6135, allocations: 7.938 kB / 484.5 MB, free: 5.297 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.6136, allocations: 0 / 484.5 MB, free: 5.297 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.865e-05/0.6137, allocations: 31.58 kB / 484.5 MB, free: 5.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.849e-05/0.6137, allocations: 15.38 kB / 484.5 MB, free: 5.258 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.741e-05/0.6138, allocations: 113 kB / 484.6 MB, free: 5.16 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6138, allocations: 0 / 484.6 MB, free: 5.16 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003518/0.6142, allocations: 64 kB / 484.7 MB, free: 5.098 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 () * 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.0001537/0.6143, allocations: 107.2 kB / 484.8 MB, free: 4.984 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003248/0.6147, allocations: 263.5 kB / 485.1 MB, free: 4.801 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.6147, allocations: 0 / 485.1 MB, free: 4.801 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001418/0.6148, allocations: 145.2 kB / 485.2 MB, free: 4.695 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004574/0.6153, allocations: 46.84 kB / 485.3 MB, free: 4.66 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.6164, allocations: 0.8727 MB / 486.1 MB, free: 3.824 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002348/0.6167, allocations: 0.7837 MB / 486.9 MB, free: 3.02 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001291/0.6168, allocations: 31.28 kB / 486.9 MB, free: 2.992 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.898e-05/0.6169, allocations: 27.44 kB / 487 MB, free: 2.965 MB / 346.7 MB Notification: Performance of SimCode: time 2.2e-07/0.6169, allocations: 0 / 487 MB, free: 2.965 MB / 346.7 MB Notification: Performance of Templates: time 0.005251/0.6221, allocations: 2.626 MB / 489.6 MB, free: 428 kB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches