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.00169/0.001691, allocations: 112.5 kB / 17.86 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002202/0.002202, allocations: 209.7 kB / 18.79 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 227.4 MB / 246.9 MB, free: 10.71 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 63.2 kB / 306.9 MB, free: 1.016 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09571/0.09699, allocations: 50.53 MB / 357.4 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003916/0.1009, allocations: 2.534 MB / 360 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000662/0.1016, allocations: 255 kB / 360.2 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002511/0.1019, allocations: 4 kB / 360.2 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000203/0.1021, allocations: 39.7 kB / 360.3 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002634/0.1024, allocations: 75.38 kB / 360.3 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002158/0.1026, allocations: 55.95 kB / 360.4 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003986/0.1031, allocations: 306.5 kB / 360.7 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002122/0.1033, allocations: 99.56 kB / 360.8 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001684/0.1035, allocations: 99.59 kB / 360.9 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001852/0.1036, allocations: 131.4 kB / 361 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.47e-05/0.1037, allocations: 16 kB / 361 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.171e-05/0.1038, allocations: 16 kB / 361 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.872e-05/0.1038, allocations: 51.77 kB / 361.1 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.104, allocations: 139.3 kB / 361.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002222/0.1042, allocations: 235.7 kB / 361.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1042, allocations: 0 / 361.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1042, allocations: 0 / 361.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.1042, allocations: 0 / 361.5 MB, free: 10.43 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.0008456/0.1051, allocations: 0.5614 MB / 362 MB, free: 9.816 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.1051, allocations: 12.03 kB / 362 MB, free: 9.805 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.188e-05/0.1052, allocations: 36.56 kB / 362.1 MB, free: 9.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000268/0.1055, allocations: 247.8 kB / 362.3 MB, free: 9.488 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.1055, allocations: 24.88 kB / 362.3 MB, free: 9.461 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.057e-05/0.1056, allocations: 28.28 kB / 362.4 MB, free: 9.434 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004027/0.106, allocations: 251.1 kB / 362.6 MB, free: 9.18 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/0.106, allocations: 8.188 kB / 362.6 MB, free: 9.172 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.997e-05/0.1061, allocations: 11.94 kB / 362.6 MB, free: 9.16 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.1061, allocations: 8 kB / 362.6 MB, free: 9.152 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003042/0.1064, allocations: 171.9 kB / 362.8 MB, free: 8.984 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.1075, allocations: 0.7575 MB / 363.6 MB, free: 8.172 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004025/0.1079, allocations: 280.7 kB / 363.8 MB, free: 7.883 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/0.1081, allocations: 126.2 kB / 364 MB, free: 7.754 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.1081, allocations: 7.906 kB / 364 MB, free: 7.746 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.1081, allocations: 42.5 kB / 364 MB, free: 7.695 MB / 302.1 MB Notification: Performance of pre-optimization done (n=36): time 1.733e-06/0.1081, allocations: 0 / 364 MB, free: 7.695 MB / 302.1 MB Notification: Performance of matching and sorting (n=48): time 0.002733/0.1109, allocations: 1.713 MB / 365.7 MB, free: 5.816 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/0.111, allocations: 81.11 kB / 365.8 MB, free: 5.719 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/0.1111, allocations: 183 kB / 366 MB, free: 5.527 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/0.1112, allocations: 37.7 kB / 366 MB, free: 5.484 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.511e-05/0.1113, allocations: 140.6 kB / 366.1 MB, free: 5.34 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.1114, allocations: 173.5 kB / 366.3 MB, free: 5.168 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.1115, allocations: 74.27 kB / 366.4 MB, free: 5.09 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.1116, allocations: 338.8 kB / 366.7 MB, free: 4.75 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000178/0.1118, allocations: 109.1 kB / 366.8 MB, free: 4.645 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000198/0.112, allocations: 153.5 kB / 367 MB, free: 4.477 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003919/0.1124, allocations: 276.7 kB / 367.2 MB, free: 4.199 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1124, allocations: 0 / 367.2 MB, free: 4.199 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005336/0.113, allocations: 381.7 kB / 367.6 MB, free: 3.82 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.113, allocations: 8 kB / 367.6 MB, free: 3.812 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.113, allocations: 0 / 367.6 MB, free: 3.812 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.113, allocations: 4 kB / 367.6 MB, free: 3.809 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003857/0.1134, allocations: 99.89 kB / 367.7 MB, free: 3.711 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/0.1135, allocations: 7.984 kB / 367.7 MB, free: 3.703 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001275/0.1136, allocations: 8 kB / 367.7 MB, free: 3.695 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-05/0.1136, allocations: 20 kB / 367.8 MB, free: 3.676 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.0001529/0.1138, allocations: 153.8 kB / 367.9 MB, free: 3.516 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.82e-05/0.1139, allocations: 35.56 kB / 368 MB, free: 3.48 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.2e-05/0.1139, allocations: 45.8 kB / 368 MB, free: 3.438 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.114, allocations: 4 kB / 368 MB, free: 3.434 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/0.114, allocations: 4 kB / 368 MB, free: 3.43 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.114, allocations: 0 / 368 MB, free: 3.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00124/0.1152, allocations: 0.9469 MB / 369 MB, free: 2.422 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.1152, allocations: 3.938 kB / 369 MB, free: 2.418 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004082/0.1157, allocations: 99.89 kB / 369.1 MB, free: 2.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.1157, allocations: 0 / 369.1 MB, free: 2.32 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/0.1157, allocations: 8 kB / 369.1 MB, free: 2.312 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.1157, allocations: 12 kB / 369.1 MB, free: 2.301 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1157, allocations: 0 / 369.1 MB, free: 2.301 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007334/0.1165, allocations: 0.6433 MB / 369.7 MB, free: 1.629 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.557e-05/0.1165, allocations: 100.7 kB / 369.8 MB, free: 1.512 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.364e-05/0.1166, allocations: 11.98 kB / 369.8 MB, free: 1.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/0.1168, allocations: 12 kB / 369.8 MB, free: 1.488 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.928e-05/0.1168, allocations: 31.91 kB / 369.9 MB, free: 1.457 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.1169, allocations: 8 kB / 369.9 MB, free: 1.449 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000102/0.117, allocations: 131.2 kB / 370 MB, free: 1.32 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.117, allocations: 3.938 kB / 370 MB, free: 1.316 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003769/0.1174, allocations: 84 kB / 370.1 MB, free: 1.234 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.0001311/0.1175, allocations: 107.2 kB / 370.2 MB, free: 1.121 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004553/0.118, allocations: 295.6 kB / 370.5 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.118, allocations: 0 / 370.5 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002043/0.1182, allocations: 153 kB / 370.6 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000627/0.1188, allocations: 67.89 kB / 370.7 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1524/0.2712, allocations: 1.137 MB / 371.8 MB, free: 20.06 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/0.2716, allocations: 0.7749 MB / 372.6 MB, free: 19.36 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/0.2717, allocations: 30.56 kB / 372.6 MB, free: 19.36 MB / 302.1 MB Notification: Performance of SimCode: time 1.002e-06/0.2717, allocations: 0 / 372.6 MB, free: 19.36 MB / 302.1 MB Notification: Performance of Templates: time 0.008004/0.2797, allocations: 3.682 MB / 376.3 MB, free: 19.14 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 -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