Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001369/0.001369, allocations: 105.6 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001429/0.001429, allocations: 208.1 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.434/1.434, allocations: 227.7 MB / 247.7 MB, free: 10.43 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002754/0.002754, allocations: 60.69 kB / 307.9 MB, free: 0.543 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1241, allocations: 50.54 MB / 358.4 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003877/0.1281, allocations: 2.425 MB / 360.8 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005537/0.1287, allocations: 243.1 kB / 361.1 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001195/0.1288, allocations: 7.938 kB / 361.1 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001564/0.129, allocations: 47.56 kB / 361.1 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001576/0.1292, allocations: 71.28 kB / 361.2 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001959/0.1294, allocations: 67.91 kB / 361.3 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000338/0.1297, allocations: 294.6 kB / 361.6 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002358/0.13, allocations: 101.7 kB / 361.7 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.1301, allocations: 107.6 kB / 361.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000182/0.1303, allocations: 119.5 kB / 361.9 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.146e-05/0.1303, allocations: 20 kB / 361.9 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.662e-05/0.1304, allocations: 28 kB / 361.9 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.873e-05/0.1304, allocations: 51.78 kB / 362 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001669/0.1306, allocations: 131.4 kB / 362.1 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003077/0.1309, allocations: 287.2 kB / 362.4 MB, free: 10 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1309, allocations: 0 / 362.4 MB, free: 10 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1309, allocations: 0 / 362.4 MB, free: 10 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.838e-06/0.131, allocations: 0 / 362.4 MB, free: 10 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.000832/0.1318, allocations: 0.5459 MB / 362.9 MB, free: 9.402 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.1318, allocations: 8.031 kB / 362.9 MB, free: 9.395 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.757e-05/0.1319, allocations: 32.56 kB / 363 MB, free: 9.363 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002788/0.1322, allocations: 234.2 kB / 363.2 MB, free: 9.094 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.1322, allocations: 20.94 kB / 363.2 MB, free: 9.074 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.511e-05/0.1323, allocations: 32.22 kB / 363.3 MB, free: 9.043 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004132/0.1327, allocations: 244 kB / 363.5 MB, free: 8.789 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.1327, allocations: 192 / 363.5 MB, free: 8.789 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.844e-05/0.1328, allocations: 15.94 kB / 363.5 MB, free: 8.773 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.1328, allocations: 7.984 kB / 363.5 MB, free: 8.766 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002981/0.1331, allocations: 163.8 kB / 363.7 MB, free: 8.605 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.1342, allocations: 0.7967 MB / 364.5 MB, free: 7.75 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005618/0.1348, allocations: 295.6 kB / 364.8 MB, free: 7.434 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002565/0.1351, allocations: 142.5 kB / 364.9 MB, free: 7.285 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.853e-05/0.1351, allocations: 4 kB / 364.9 MB, free: 7.281 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.1351, allocations: 38.56 kB / 364.9 MB, free: 7.234 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 1.463e-06/0.1351, allocations: 0 / 364.9 MB, free: 7.234 MB / 302.1 MB Notification: Performance of matching and sorting (n=45): time 0.002862/0.138, allocations: 1.946 MB / 366.9 MB, free: 5.027 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.625e-05/0.1381, allocations: 106.8 kB / 367 MB, free: 4.898 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/0.1383, allocations: 191 kB / 367.2 MB, free: 4.695 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.031e-05/0.1384, allocations: 33.7 kB / 367.2 MB, free: 4.656 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.1385, allocations: 140.8 kB / 367.4 MB, free: 4.512 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00015/0.1386, allocations: 161.6 kB / 367.5 MB, free: 4.352 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.1387, allocations: 74.12 kB / 367.6 MB, free: 4.273 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.1389, allocations: 338.8 kB / 367.9 MB, free: 3.934 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/0.1391, allocations: 88.83 kB / 368 MB, free: 3.848 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002203/0.1393, allocations: 158.3 kB / 368.2 MB, free: 3.668 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004005/0.1397, allocations: 274.2 kB / 368.4 MB, free: 3.379 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1397, allocations: 0 / 368.4 MB, free: 3.379 MB / 302.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005406/0.1403, allocations: 351.7 kB / 368.8 MB, free: 3.035 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.1403, allocations: 11.94 kB / 368.8 MB, free: 3.023 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.1403, allocations: 4 kB / 368.8 MB, free: 3.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.1404, allocations: 0 / 368.8 MB, free: 3.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003351/0.1407, allocations: 95.89 kB / 368.9 MB, free: 2.926 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.1407, allocations: 4 kB / 368.9 MB, free: 2.922 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.1408, allocations: 12 kB / 368.9 MB, free: 2.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.157e-05/0.1409, allocations: 12 kB / 368.9 MB, free: 2.898 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.0001693/0.141, allocations: 149.7 kB / 369 MB, free: 2.742 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.653e-05/0.1411, allocations: 31.66 kB / 369.1 MB, free: 2.711 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.656e-05/0.1412, allocations: 45.8 kB / 369.1 MB, free: 2.668 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.1412, allocations: 4 kB / 369.1 MB, free: 2.664 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.1412, allocations: 0 / 369.1 MB, free: 2.664 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.1412, allocations: 0 / 369.1 MB, free: 2.664 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001511/0.1428, allocations: 1.069 MB / 370.2 MB, free: 1.512 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.1428, allocations: 0 / 370.2 MB, free: 1.512 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003754/0.1432, allocations: 87.91 kB / 370.3 MB, free: 1.426 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.127e-06/0.1432, allocations: 7.938 kB / 370.3 MB, free: 1.418 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.742e-05/0.1432, allocations: 12 kB / 370.3 MB, free: 1.406 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.507e-06/0.1432, allocations: 11.98 kB / 370.3 MB, free: 1.395 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.1432, allocations: 7.922 kB / 370.3 MB, free: 1.387 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008273/0.1441, allocations: 0.7175 MB / 371 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.732e-05/0.1442, allocations: 100.8 kB / 371.1 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.653e-05/0.1442, allocations: 16 kB / 371.2 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.1444, allocations: 8.125 kB / 371.2 MB, free: 500 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.498e-05/0.1445, allocations: 27.97 kB / 371.2 MB, free: 472 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.708e-05/0.1445, allocations: 24 kB / 371.2 MB, free: 448 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001319/0.1447, allocations: 144.2 kB / 371.4 MB, free: 304 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1447, allocations: 0 / 371.4 MB, free: 304 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004475/0.1451, allocations: 75.94 kB / 371.4 MB, free: 228 kB / 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.0001493/0.1453, allocations: 119.2 kB / 371.5 MB, free: 100 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.1544/0.2996, allocations: 281 kB / 371.8 MB, free: 20.09 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/0.2997, allocations: 1.906 kB / 371.8 MB, free: 20.09 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002751/0.3, allocations: 143.8 kB / 372 MB, free: 20.09 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.301, allocations: 68.12 kB / 372 MB, free: 20.09 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.3025, allocations: 0.941 MB / 373 MB, free: 19.55 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/0.3028, allocations: 0.7685 MB / 373.7 MB, free: 18.85 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.857e-05/0.3029, allocations: 28.22 kB / 373.8 MB, free: 18.84 MB / 302.1 MB Notification: Performance of SimCode: time 8.52e-07/0.3029, allocations: 0.625 kB / 373.8 MB, free: 18.84 MB / 302.1 MB Notification: Performance of Templates: time 0.006941/0.3098, allocations: 3.443 MB / 377.2 MB, free: 18.56 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches