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.001437/0.001437, allocations: 115.8 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.001791/0.001791, allocations: 199.5 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.397/1.397, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 59.25 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09836/0.09959, allocations: 50.53 MB / 358.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003539/0.1032, allocations: 2.499 MB / 361.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004712/0.1037, allocations: 259 kB / 361.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.1038, allocations: 4 kB / 361.6 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001398/0.1039, allocations: 39.58 kB / 361.7 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001421/0.1041, allocations: 103.1 kB / 361.8 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001748/0.1043, allocations: 63.92 kB / 361.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002825/0.1045, allocations: 322.4 kB / 362.2 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001886/0.1047, allocations: 107 kB / 362.3 MB, free: 9.938 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.824e-05/0.1049, allocations: 111.6 kB / 362.4 MB, free: 9.828 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.105, allocations: 131.4 kB / 362.5 MB, free: 9.699 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.718e-05/0.1051, allocations: 24 kB / 362.5 MB, free: 9.676 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.041e-05/0.1051, allocations: 28 kB / 362.6 MB, free: 9.648 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.545e-05/0.1051, allocations: 51.83 kB / 362.6 MB, free: 9.598 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001197/0.1053, allocations: 155.3 kB / 362.8 MB, free: 9.445 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002617/0.1055, allocations: 314.8 kB / 363.1 MB, free: 9.137 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1056, allocations: 0 / 363.1 MB, free: 9.137 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1056, allocations: 0 / 363.1 MB, free: 9.137 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1056, allocations: 0 / 363.1 MB, free: 9.137 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.0007316/0.1063, allocations: 0.5654 MB / 363.6 MB, free: 8.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.1063, allocations: 8.031 kB / 363.6 MB, free: 8.512 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.999e-05/0.1064, allocations: 32.56 kB / 363.7 MB, free: 8.48 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/0.1067, allocations: 251.8 kB / 363.9 MB, free: 8.195 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.1067, allocations: 16.94 kB / 363.9 MB, free: 8.18 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.703e-05/0.1068, allocations: 32.28 kB / 364 MB, free: 8.148 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003665/0.1071, allocations: 251.1 kB / 364.2 MB, free: 7.891 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.1072, allocations: 4.188 kB / 364.2 MB, free: 7.887 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.629e-05/0.1072, allocations: 15.94 kB / 364.2 MB, free: 7.871 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.1072, allocations: 4 kB / 364.2 MB, free: 7.867 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002887/0.1075, allocations: 179.8 kB / 364.4 MB, free: 7.691 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000964/0.1085, allocations: 0.7458 MB / 365.2 MB, free: 6.891 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003557/0.1088, allocations: 273 kB / 365.4 MB, free: 6.605 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/0.109, allocations: 122.3 kB / 365.5 MB, free: 6.48 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.109, allocations: 11.91 kB / 365.5 MB, free: 6.469 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.1091, allocations: 46.55 kB / 365.6 MB, free: 6.414 MB / 302.1 MB Notification: Performance of pre-optimization done (n=36): time 1.472e-06/0.1091, allocations: 0 / 365.6 MB, free: 6.414 MB / 302.1 MB Notification: Performance of matching and sorting (n=48): time 0.002351/0.1114, allocations: 1.705 MB / 367.3 MB, free: 4.543 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.1115, allocations: 89.03 kB / 367.4 MB, free: 4.438 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.1117, allocations: 187 kB / 367.6 MB, free: 4.242 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.1117, allocations: 33.7 kB / 367.6 MB, free: 4.203 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.06e-05/0.1118, allocations: 140.6 kB / 367.7 MB, free: 4.059 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.1119, allocations: 169.5 kB / 367.9 MB, free: 3.891 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.112, allocations: 86.25 kB / 368 MB, free: 3.797 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.872e-05/0.1121, allocations: 334.8 kB / 368.3 MB, free: 3.461 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.1123, allocations: 109 kB / 368.4 MB, free: 3.355 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001806/0.1125, allocations: 157.4 kB / 368.6 MB, free: 3.188 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003671/0.1128, allocations: 287.8 kB / 368.9 MB, free: 2.898 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.1128, allocations: 0 / 368.9 MB, free: 2.898 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004626/0.1133, allocations: 365.8 kB / 369.2 MB, free: 2.535 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.1133, allocations: 4 kB / 369.2 MB, free: 2.531 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1133, allocations: 4 kB / 369.2 MB, free: 2.527 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.1134, allocations: 7.984 kB / 369.2 MB, free: 2.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000366/0.1137, allocations: 99.84 kB / 369.3 MB, free: 2.422 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.1138, allocations: 4 kB / 369.3 MB, free: 2.418 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.1139, allocations: 8 kB / 369.3 MB, free: 2.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/0.1139, allocations: 20.06 kB / 369.4 MB, free: 2.391 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.0001254/0.114, allocations: 149.8 kB / 369.5 MB, free: 2.234 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.142e-05/0.1141, allocations: 35.56 kB / 369.5 MB, free: 2.199 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.897e-05/0.1142, allocations: 37.88 kB / 369.6 MB, free: 2.16 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.1142, allocations: 4 kB / 369.6 MB, free: 2.156 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.1142, allocations: 0 / 369.6 MB, free: 2.156 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.1142, allocations: 7.984 kB / 369.6 MB, free: 2.148 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.1153, allocations: 0.9476 MB / 370.5 MB, free: 1.137 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.1153, allocations: 0 / 370.5 MB, free: 1.137 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004081/0.1158, allocations: 91.91 kB / 370.6 MB, free: 1.047 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.1158, allocations: 11.98 kB / 370.6 MB, free: 1.035 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.438e-05/0.1158, allocations: 15.94 kB / 370.7 MB, free: 1.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.1158, allocations: 0 / 370.7 MB, free: 1.02 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.1158, allocations: 4 kB / 370.7 MB, free: 1.016 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006618/0.1165, allocations: 0.6365 MB / 371.3 MB, free: 360 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.896e-05/0.1166, allocations: 104.7 kB / 371.4 MB, free: 236 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.752e-05/0.1166, allocations: 15.94 kB / 371.4 MB, free: 220 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.1168, allocations: 8 kB / 371.4 MB, free: 212 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.552e-05/0.1168, allocations: 31.95 kB / 371.4 MB, free: 180 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.1169, allocations: 12 kB / 371.5 MB, free: 168 kB / 302.1 MB Notification: Performance of sorting global known variables: time 8.302e-05/0.1169, allocations: 131.2 kB / 371.6 MB, free: 36 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1169, allocations: 0 / 371.6 MB, free: 36 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.1772/0.2942, allocations: 77.89 kB / 371.7 MB, free: 19.95 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.0001429/0.2944, allocations: 108.3 kB / 371.8 MB, free: 19.86 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005742/0.295, allocations: 293.8 kB / 372.1 MB, free: 19.86 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.295, allocations: 0 / 372.1 MB, free: 19.86 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002249/0.2952, allocations: 165.6 kB / 372.2 MB, free: 19.85 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006261/0.2958, allocations: 65.8 kB / 372.3 MB, free: 19.85 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/0.2973, allocations: 0.9857 MB / 373.3 MB, free: 19.34 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/0.2975, allocations: 0.7751 MB / 374 MB, free: 18.64 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001329/0.2976, allocations: 41.27 kB / 374.1 MB, free: 18.62 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.038e-05/0.2977, allocations: 27.53 kB / 374.1 MB, free: 18.62 MB / 302.1 MB Notification: Performance of SimCode: time 6.41e-07/0.2977, allocations: 1.375 kB / 374.1 MB, free: 18.62 MB / 302.1 MB Notification: Performance of Templates: time 0.007381/0.3051, allocations: 3.047 MB / 377.2 MB, free: 18.45 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 cvode -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