Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.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.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper") translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001155/0.001155, allocations: 103.5 kB / 17.2 MB, free: 6.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00133/0.001331, allocations: 209.7 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 227.4 MB / 246.3 MB, free: 9.043 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001246, allocations: 64.55 kB / 306.3 MB, free: 0.8242 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1066, allocations: 50.53 MB / 356.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003838/0.1104, allocations: 2.471 MB / 359.3 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000634/0.1111, allocations: 243 kB / 359.5 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002162/0.1114, allocations: 7.938 kB / 359.5 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000163/0.1115, allocations: 31.77 kB / 359.5 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001829/0.1117, allocations: 71.45 kB / 359.6 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001821/0.1119, allocations: 47.91 kB / 359.7 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002942/0.1122, allocations: 282.6 kB / 359.9 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001826/0.1124, allocations: 90.22 kB / 360 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.1125, allocations: 95.59 kB / 360.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.1127, allocations: 115.5 kB / 360.2 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.364e-05/0.1127, allocations: 16 kB / 360.2 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.264e-05/0.1128, allocations: 16 kB / 360.3 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.164e-05/0.1128, allocations: 47.77 kB / 360.3 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001215/0.113, allocations: 123.4 kB / 360.4 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002493/0.1132, allocations: 283.1 kB / 360.7 MB, free: 10.36 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1132, allocations: 0 / 360.7 MB, free: 10.36 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.01e-07/0.1132, allocations: 0 / 360.7 MB, free: 10.36 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.1132, allocations: 0 / 360.7 MB, free: 10.36 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0007349/0.114, allocations: 0.5343 MB / 361.2 MB, free: 9.773 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.114, allocations: 8.031 kB / 361.2 MB, free: 9.766 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.499e-05/0.1141, allocations: 32.56 kB / 361.3 MB, free: 9.734 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002459/0.1143, allocations: 244.5 kB / 361.5 MB, free: 9.453 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.1144, allocations: 24.94 kB / 361.5 MB, free: 9.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.327e-05/0.1144, allocations: 32.28 kB / 361.6 MB, free: 9.398 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004018/0.1148, allocations: 236 kB / 361.8 MB, free: 9.156 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/0.1149, allocations: 4.188 kB / 361.8 MB, free: 9.152 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.604e-05/0.1149, allocations: 15.88 kB / 361.8 MB, free: 9.137 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.1149, allocations: 4 kB / 361.8 MB, free: 9.133 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003075/0.1152, allocations: 163.9 kB / 362 MB, free: 8.973 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.1162, allocations: 0.7967 MB / 362.8 MB, free: 8.117 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005019/0.1167, allocations: 303.6 kB / 363.1 MB, free: 7.793 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002364/0.117, allocations: 130.5 kB / 363.2 MB, free: 7.656 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.117, allocations: 4 kB / 363.2 MB, free: 7.652 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.1171, allocations: 42.77 kB / 363.3 MB, free: 7.602 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 2.826e-06/0.1171, allocations: 0 / 363.3 MB, free: 7.602 MB / 302.1 MB Notification: Performance of matching and sorting (n=45): time 0.002591/0.1197, allocations: 1.948 MB / 365.2 MB, free: 5.395 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.08e-05/0.1197, allocations: 110.8 kB / 365.3 MB, free: 5.262 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.1199, allocations: 190.6 kB / 365.5 MB, free: 5.059 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.1199, allocations: 33.7 kB / 365.5 MB, free: 5.02 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.134e-05/0.12, allocations: 136.8 kB / 365.7 MB, free: 4.879 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.1202, allocations: 165.6 kB / 365.8 MB, free: 4.715 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.296e-05/0.1203, allocations: 70.14 kB / 365.9 MB, free: 4.641 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.1204, allocations: 338.8 kB / 366.2 MB, free: 4.301 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.1205, allocations: 92.83 kB / 366.3 MB, free: 4.211 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001952/0.1207, allocations: 154.3 kB / 366.5 MB, free: 4.035 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003749/0.1211, allocations: 273.8 kB / 366.7 MB, free: 3.746 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.1211, allocations: 4 kB / 366.7 MB, free: 3.742 MB / 302.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005008/0.1216, allocations: 347.1 kB / 367.1 MB, free: 3.402 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.1217, allocations: 7.938 kB / 367.1 MB, free: 3.395 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.1217, allocations: 0 / 367.1 MB, free: 3.395 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.1217, allocations: 4.938 kB / 367.1 MB, free: 3.391 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003274/0.122, allocations: 99.83 kB / 367.2 MB, free: 3.293 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.122, allocations: 4 kB / 367.2 MB, free: 3.289 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.1222, allocations: 12 kB / 367.2 MB, free: 3.277 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/0.1222, allocations: 12 kB / 367.2 MB, free: 3.266 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (54): * Single equations (assignments): 54 * 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.0001389/0.1223, allocations: 155 kB / 367.4 MB, free: 3.105 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.946e-05/0.1224, allocations: 27.66 kB / 367.4 MB, free: 3.078 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.219e-05/0.1225, allocations: 37.86 kB / 367.4 MB, free: 3.043 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.1225, allocations: 8 kB / 367.4 MB, free: 3.035 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.1225, allocations: 0 / 367.4 MB, free: 3.035 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.1225, allocations: 7.969 kB / 367.4 MB, free: 3.027 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001363/0.1239, allocations: 1.062 MB / 368.5 MB, free: 1.879 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.1239, allocations: 4 kB / 368.5 MB, free: 1.875 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003759/0.1243, allocations: 87.89 kB / 368.6 MB, free: 1.789 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.018e-05/0.1243, allocations: 7.938 kB / 368.6 MB, free: 1.781 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.676e-05/0.1244, allocations: 19.94 kB / 368.6 MB, free: 1.762 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.1244, allocations: 4 kB / 368.6 MB, free: 1.758 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.1244, allocations: 4 kB / 368.6 MB, free: 1.754 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007179/0.1251, allocations: 0.7139 MB / 369.3 MB, free: 1 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.645e-05/0.1252, allocations: 104.8 kB / 369.4 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.366e-05/0.1252, allocations: 16 kB / 369.5 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.1255, allocations: 8 kB / 369.5 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.828e-05/0.1255, allocations: 39.89 kB / 369.5 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.012e-05/0.1255, allocations: 16 kB / 369.5 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001005/0.1256, allocations: 136.9 kB / 369.7 MB, free: 0.668 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1257, allocations: 0 / 369.7 MB, free: 0.668 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004326/0.1261, allocations: 75.94 kB / 369.7 MB, free: 0.5938 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper2.s_rel,damper2.v_rel,damper1.s_rel,damper1.v_rel) * 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 (45): * Single equations (assignments): 45 * 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.000131/0.1262, allocations: 115.1 kB / 369.8 MB, free: 484 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004479/0.1267, allocations: 279.8 kB / 370.1 MB, free: 204 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1267, allocations: 0 / 370.1 MB, free: 204 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001938/0.1269, allocations: 139.8 kB / 370.3 MB, free: 64 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007398/0.1276, allocations: 63.41 kB / 370.3 MB, free: 4 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1426/0.2702, allocations: 1.006 MB / 371.3 MB, free: 19.46 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/0.2705, allocations: 0.768 MB / 372.1 MB, free: 18.77 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000172/0.2707, allocations: 42.12 kB / 372.1 MB, free: 18.76 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.058e-05/0.2708, allocations: 27.84 kB / 372.2 MB, free: 18.75 MB / 302.1 MB Notification: Performance of SimCode: time 9.21e-07/0.2708, allocations: 0 / 372.2 MB, free: 18.75 MB / 302.1 MB Notification: Performance of Templates: time 0.008151/0.279, allocations: 2.831 MB / 375 MB, free: 18.59 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches