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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001216/0.001217, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001179/0.001179, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001755, allocations: 60.53 kB / 308.4 MB, free: 15.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.107, allocations: 50.53 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003547/0.1106, allocations: 2.496 MB / 361.4 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004363/0.1111, allocations: 255 kB / 361.6 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.672e-05/0.1112, allocations: 8 kB / 361.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001409/0.1113, allocations: 43.58 kB / 361.7 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001439/0.1115, allocations: 91.12 kB / 361.8 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001763/0.1117, allocations: 63.92 kB / 361.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002911/0.112, allocations: 322.5 kB / 362.2 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001954/0.1122, allocations: 106.9 kB / 362.3 MB, free: 9.934 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.1123, allocations: 115.6 kB / 362.4 MB, free: 9.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001727/0.1125, allocations: 139.4 kB / 362.5 MB, free: 9.684 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.893e-05/0.1125, allocations: 24 kB / 362.5 MB, free: 9.66 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.972e-05/0.1126, allocations: 24 kB / 362.6 MB, free: 9.637 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.714e-05/0.1126, allocations: 51.84 kB / 362.6 MB, free: 9.586 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001295/0.1127, allocations: 147.2 kB / 362.8 MB, free: 9.441 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002776/0.113, allocations: 314.9 kB / 363.1 MB, free: 9.133 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.113, allocations: 0 / 363.1 MB, free: 9.133 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1131, allocations: 4 kB / 363.1 MB, free: 9.129 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.1131, allocations: 4 kB / 363.1 MB, free: 9.125 MB / 302.1 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.0008163/0.1139, allocations: 0.5575 MB / 363.6 MB, free: 8.516 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.1139, allocations: 12.03 kB / 363.6 MB, free: 8.504 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.178e-05/0.114, allocations: 32.56 kB / 363.7 MB, free: 8.473 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002944/0.1143, allocations: 251.8 kB / 363.9 MB, free: 8.188 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.1143, allocations: 20.94 kB / 363.9 MB, free: 8.168 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.516e-05/0.1144, allocations: 32.27 kB / 364 MB, free: 8.137 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003978/0.1148, allocations: 247.2 kB / 364.2 MB, free: 7.883 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.1148, allocations: 8.188 kB / 364.2 MB, free: 7.875 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.461e-05/0.1149, allocations: 15.92 kB / 364.2 MB, free: 7.859 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.1149, allocations: 12 kB / 364.2 MB, free: 7.848 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003065/0.1152, allocations: 175.8 kB / 364.4 MB, free: 7.676 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.1162, allocations: 0.7419 MB / 365.2 MB, free: 6.879 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003842/0.1166, allocations: 277 kB / 365.4 MB, free: 6.59 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/0.1168, allocations: 122.3 kB / 365.5 MB, free: 6.465 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.025e-05/0.1168, allocations: 7.906 kB / 365.6 MB, free: 6.457 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.1169, allocations: 38.56 kB / 365.6 MB, free: 6.41 MB / 302.1 MB Notification: Performance of pre-optimization done (n=36): time 1.413e-06/0.1169, allocations: 0 / 365.6 MB, free: 6.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=48): time 0.002474/0.1193, allocations: 1.709 MB / 367.3 MB, free: 4.535 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.1194, allocations: 81.11 kB / 367.4 MB, free: 4.438 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.1196, allocations: 191 kB / 367.6 MB, free: 4.238 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.683e-05/0.1196, allocations: 37.64 kB / 367.6 MB, free: 4.195 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.353e-05/0.1197, allocations: 140.6 kB / 367.7 MB, free: 4.051 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/0.1198, allocations: 173.5 kB / 367.9 MB, free: 3.879 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.1199, allocations: 74.27 kB / 368 MB, free: 3.797 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1201, allocations: 342.8 kB / 368.3 MB, free: 3.453 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/0.1203, allocations: 101.1 kB / 368.4 MB, free: 3.355 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002023/0.1205, allocations: 157.5 kB / 368.6 MB, free: 3.188 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003772/0.1209, allocations: 283.8 kB / 368.8 MB, free: 2.902 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1209, allocations: 4 kB / 368.9 MB, free: 2.898 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004879/0.1214, allocations: 377.7 kB / 369.2 MB, free: 2.523 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.1214, allocations: 8 kB / 369.2 MB, free: 2.516 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.1214, allocations: 0 / 369.2 MB, free: 2.516 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.1214, allocations: 4 kB / 369.2 MB, free: 2.512 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003805/0.1218, allocations: 103.9 kB / 369.3 MB, free: 2.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.1218, allocations: 4 kB / 369.3 MB, free: 2.406 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.1219, allocations: 12 kB / 369.3 MB, free: 2.395 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.122, allocations: 8 kB / 369.4 MB, free: 2.387 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001422/0.1221, allocations: 161.8 kB / 369.5 MB, free: 2.219 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.98e-05/0.1222, allocations: 31.56 kB / 369.5 MB, free: 2.188 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.536e-05/0.1223, allocations: 37.86 kB / 369.6 MB, free: 2.148 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.1223, allocations: 8 kB / 369.6 MB, free: 2.141 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.1223, allocations: 0 / 369.6 MB, free: 2.141 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.1223, allocations: 0 / 369.6 MB, free: 2.141 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/0.1235, allocations: 0.9398 MB / 370.5 MB, free: 1.137 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1235, allocations: 0 / 370.5 MB, free: 1.137 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004142/0.1239, allocations: 99.83 kB / 370.6 MB, free: 1.039 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.1239, allocations: 4 kB / 370.6 MB, free: 1.035 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.693e-05/0.1239, allocations: 15.94 kB / 370.6 MB, free: 1.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.124, allocations: 4 kB / 370.7 MB, free: 1.016 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.124, allocations: 0 / 370.7 MB, free: 1.016 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007138/0.1247, allocations: 0.6365 MB / 371.3 MB, free: 360 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.164e-05/0.1248, allocations: 108.7 kB / 371.4 MB, free: 232 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.779e-05/0.1248, allocations: 12 kB / 371.4 MB, free: 220 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.125, allocations: 8 kB / 371.4 MB, free: 212 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.129e-05/0.125, allocations: 35.83 kB / 371.4 MB, free: 176 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.908e-05/0.1251, allocations: 16 kB / 371.5 MB, free: 160 kB / 302.1 MB Notification: Performance of sorting global known variables: time 8.846e-05/0.1252, allocations: 135.2 kB / 371.6 MB, free: 24 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1252, allocations: 0 / 371.6 MB, free: 24 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.1426/0.2678, allocations: 77.45 kB / 371.7 MB, free: 19.9 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (m1.s,m1.v,sd1.s_rel,sd1.v_rel,sd2.s_rel,sd2.v_rel,m4.s,m4.v) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001672/0.268, allocations: 106.4 kB / 371.8 MB, free: 19.81 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006713/0.2687, allocations: 296 kB / 372.1 MB, free: 19.8 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.2687, allocations: 0.7188 kB / 372.1 MB, free: 19.8 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002291/0.2689, allocations: 160.4 kB / 372.2 MB, free: 19.8 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006515/0.2696, allocations: 70.03 kB / 372.3 MB, free: 19.8 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.2712, allocations: 0.9881 MB / 373.3 MB, free: 19.3 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.2715, allocations: 0.7801 MB / 374.1 MB, free: 18.59 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001463/0.2716, allocations: 32.94 kB / 374.1 MB, free: 18.58 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.278e-05/0.2717, allocations: 26.88 kB / 374.1 MB, free: 18.58 MB / 302.1 MB Notification: Performance of SimCode: time 6.81e-07/0.2717, allocations: 0.75 kB / 374.1 MB, free: 18.58 MB / 302.1 MB Notification: Performance of Templates: time 0.007899/0.2796, allocations: 3.051 MB / 377.2 MB, free: 18.41 MB / 302.1 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches