Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002089/0.002088, allocations: 176.2 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 221.5 MB / 230.3 MB, free: 7.59 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008142/0.0008143, allocations: 94.02 kB / 281.2 MB, free: 5.34 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.277e-05/1.278e-05, allocations: 4 kB / 337 MB, free: 10.05 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1077, allocations: 50.41 MB / 387.4 MB, free: 7.598 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.333/0.4408, allocations: 76.53 MB / 464 MB, free: 2.371 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001778/0.441, allocations: 59.97 kB / 464 MB, free: 2.312 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01223/0.4532, allocations: 4.667 MB / 468.7 MB, free: 13.63 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4533, allocations: 6.625 kB / 468.7 MB, free: 13.62 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.994e-05/0.4533, allocations: 8 kB / 468.7 MB, free: 13.62 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.0006233/0.4539, allocations: 494.9 kB / 469.2 MB, free: 13.09 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.454, allocations: 8.031 kB / 469.2 MB, free: 13.08 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.02e-05/0.454, allocations: 35.7 kB / 469.2 MB, free: 13.05 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.4543, allocations: 243.2 kB / 469.5 MB, free: 12.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.4543, allocations: 8 kB / 469.5 MB, free: 12.76 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.752e-05/0.4544, allocations: 12 kB / 469.5 MB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002859/0.4547, allocations: 157.1 kB / 469.6 MB, free: 12.59 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003361/0.455, allocations: 213.4 kB / 469.9 MB, free: 12.37 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.455, allocations: 4 kB / 469.9 MB, free: 12.37 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.883e-05/0.4551, allocations: 0 / 469.9 MB, free: 12.37 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.4551, allocations: 8 kB / 469.9 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009143/0.456, allocations: 0.6918 MB / 470.6 MB, free: 11.62 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003253/0.4563, allocations: 253 kB / 470.8 MB, free: 11.36 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001521/0.4565, allocations: 110.3 kB / 470.9 MB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.4565, allocations: 0 / 470.9 MB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.4566, allocations: 42.47 kB / 471 MB, free: 11.2 MB / 346.7 MB Notification: Performance of pre-optimization done (n=36): time 1.262e-06/0.4566, allocations: 0 / 471 MB, free: 11.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=48): time 0.002049/0.4586, allocations: 1.486 MB / 472.4 MB, free: 9.535 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.4587, allocations: 85.11 kB / 472.5 MB, free: 9.434 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.4588, allocations: 142.4 kB / 472.7 MB, free: 9.285 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.4588, allocations: 25.7 kB / 472.7 MB, free: 9.254 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.443e-05/0.4589, allocations: 144.9 kB / 472.8 MB, free: 9.109 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/0.4591, allocations: 173.4 kB / 473 MB, free: 8.938 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.282e-05/0.4591, allocations: 0 / 473 MB, free: 8.938 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.4592, allocations: 334.8 kB / 473.3 MB, free: 8.602 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.4593, allocations: 89.06 kB / 473.4 MB, free: 8.516 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001767/0.4595, allocations: 140.4 kB / 473.6 MB, free: 8.363 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002011/0.4597, allocations: 110.3 kB / 473.7 MB, free: 8.258 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.4597, allocations: 0 / 473.7 MB, free: 8.258 MB / 346.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004297/0.4602, allocations: 322.3 kB / 474 MB, free: 7.938 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.4602, allocations: 6.625 kB / 474 MB, free: 7.934 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.4602, allocations: 0 / 474 MB, free: 7.934 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.4602, allocations: 4 kB / 474 MB, free: 7.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003701/0.4606, allocations: 103.8 kB / 474.1 MB, free: 7.828 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.611e-05/0.4606, allocations: 12.02 kB / 474.1 MB, free: 7.816 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.4607, allocations: 0 / 474.1 MB, free: 7.816 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/0.4608, allocations: 16 kB / 474.1 MB, free: 7.801 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.432e-05/0.4609, allocations: 108.9 kB / 474.2 MB, free: 7.688 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.387e-05/0.4609, allocations: 31.66 kB / 474.2 MB, free: 7.656 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.999e-05/0.461, allocations: 29.97 kB / 474.3 MB, free: 7.625 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.461, allocations: 7.984 kB / 474.3 MB, free: 7.617 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.461, allocations: 0 / 474.3 MB, free: 7.617 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.4611, allocations: 7.953 kB / 474.3 MB, free: 7.609 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/0.4621, allocations: 0.8666 MB / 475.2 MB, free: 6.695 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.4622, allocations: 0 / 475.2 MB, free: 6.695 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004106/0.4626, allocations: 95.84 kB / 475.3 MB, free: 6.602 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.4626, allocations: 4 kB / 475.3 MB, free: 6.598 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.271e-05/0.4626, allocations: 7.984 kB / 475.3 MB, free: 6.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.4626, allocations: 0 / 475.3 MB, free: 6.59 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.4626, allocations: 4 kB / 475.3 MB, free: 6.586 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006729/0.4633, allocations: 0.6214 MB / 475.9 MB, free: 5.926 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.981e-05/0.4634, allocations: 104.7 kB / 476 MB, free: 5.805 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.739e-05/0.4634, allocations: 4 kB / 476 MB, free: 5.801 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.4636, allocations: 7.953 kB / 476 MB, free: 5.793 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.041e-05/0.4637, allocations: 27.91 kB / 476 MB, free: 5.766 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.139e-05/0.4637, allocations: 16 kB / 476 MB, free: 5.75 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.54e-05/0.4638, allocations: 128.2 kB / 476.2 MB, free: 5.625 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4638, allocations: 0 / 476.2 MB, free: 5.625 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003397/0.4641, allocations: 60 kB / 476.2 MB, free: 5.566 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.0001398/0.4643, allocations: 108 kB / 476.3 MB, free: 5.453 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003791/0.4647, allocations: 262.9 kB / 476.6 MB, free: 5.195 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4647, allocations: 4 kB / 476.6 MB, free: 5.191 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001632/0.4648, allocations: 135.8 kB / 476.7 MB, free: 5.059 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004377/0.4653, allocations: 49.64 kB / 476.8 MB, free: 5.012 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.4665, allocations: 0.864 MB / 477.6 MB, free: 4.105 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.4669, allocations: 0.7842 MB / 478.4 MB, free: 3.293 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001408/0.467, allocations: 35.27 kB / 478.5 MB, free: 3.262 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.627e-05/0.4671, allocations: 27.44 kB / 478.5 MB, free: 3.234 MB / 346.7 MB Notification: Performance of SimCode: time 2.91e-07/0.4671, allocations: 0 / 478.5 MB, free: 3.234 MB / 346.7 MB Notification: Performance of Templates: time 0.00529/0.4724, allocations: 2.621 MB / 481.1 MB, free: 0.6367 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches