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.00166/0.001665, allocations: 119.9 kB / 18.42 MB, free: 4.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001891/0.001891, allocations: 207.5 kB / 19.36 MB, free: 3.613 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 / 247.5 MB, free: 10.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 60.16 kB / 308.4 MB, free: 15.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1177, allocations: 50.53 MB / 358.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003899/0.1216, allocations: 2.441 MB / 361.3 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005143/0.1221, allocations: 243.1 kB / 361.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.1223, allocations: 4 kB / 361.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001563/0.1224, allocations: 39.58 kB / 361.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001373/0.1226, allocations: 91.19 kB / 361.7 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001765/0.1228, allocations: 51.94 kB / 361.8 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002981/0.1231, allocations: 294.5 kB / 362 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001971/0.1233, allocations: 109.6 kB / 362.2 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.1234, allocations: 99.7 kB / 362.3 MB, free: 9.988 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001739/0.1236, allocations: 123.4 kB / 362.4 MB, free: 9.867 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.701e-05/0.1236, allocations: 20 kB / 362.4 MB, free: 9.848 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.015e-05/0.1237, allocations: 24 kB / 362.4 MB, free: 9.824 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001274/0.1238, allocations: 51.83 kB / 362.5 MB, free: 9.773 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.1239, allocations: 135.3 kB / 362.6 MB, free: 9.641 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003048/0.1242, allocations: 291 kB / 362.9 MB, free: 9.355 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.1243, allocations: 4 kB / 362.9 MB, free: 9.352 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.1243, allocations: 4 kB / 362.9 MB, free: 9.348 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.1243, allocations: 4 kB / 362.9 MB, free: 9.344 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.0007882/0.1251, allocations: 0.5226 MB / 363.4 MB, free: 8.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.1251, allocations: 12.03 kB / 363.4 MB, free: 8.758 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.555e-05/0.1252, allocations: 28.56 kB / 363.5 MB, free: 8.73 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003313/0.1255, allocations: 254.2 kB / 363.7 MB, free: 8.441 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.023e-05/0.1256, allocations: 20.88 kB / 363.7 MB, free: 8.422 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.845e-05/0.1256, allocations: 32.28 kB / 363.8 MB, free: 8.391 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003949/0.126, allocations: 244 kB / 364 MB, free: 8.137 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.1261, allocations: 192 / 364 MB, free: 8.137 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.449e-05/0.1261, allocations: 15.94 kB / 364 MB, free: 8.121 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.1261, allocations: 4 kB / 364 MB, free: 8.117 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002723/0.1264, allocations: 159.9 kB / 364.2 MB, free: 7.961 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.1275, allocations: 0.7889 MB / 365 MB, free: 7.113 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004927/0.128, allocations: 303.6 kB / 365.3 MB, free: 6.789 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002282/0.1282, allocations: 130.5 kB / 365.4 MB, free: 6.652 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.1283, allocations: 4 kB / 365.4 MB, free: 6.648 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.1283, allocations: 42.5 kB / 365.4 MB, free: 6.598 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 1.824e-06/0.1283, allocations: 4 kB / 365.4 MB, free: 6.594 MB / 302.1 MB Notification: Performance of matching and sorting (n=45): time 0.002644/0.131, allocations: 1.932 MB / 367.4 MB, free: 4.398 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.731e-05/0.1311, allocations: 114.8 kB / 367.5 MB, free: 4.262 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.1313, allocations: 191.2 kB / 367.7 MB, free: 4.059 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.1313, allocations: 29.7 kB / 367.7 MB, free: 4.023 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.919e-05/0.1314, allocations: 140.8 kB / 367.8 MB, free: 3.879 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.1315, allocations: 161.6 kB / 368 MB, free: 3.719 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.583e-05/0.1317, allocations: 70.14 kB / 368.1 MB, free: 3.645 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.1318, allocations: 342.8 kB / 368.4 MB, free: 3.301 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.132, allocations: 88.84 kB / 368.5 MB, free: 3.215 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001963/0.1322, allocations: 163.3 kB / 368.6 MB, free: 3.031 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004098/0.1326, allocations: 274.6 kB / 368.9 MB, free: 2.746 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1326, allocations: 0 / 368.9 MB, free: 2.746 MB / 302.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004788/0.1331, allocations: 344.4 kB / 369.2 MB, free: 2.406 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.217e-05/0.1332, allocations: 10.59 kB / 369.3 MB, free: 2.398 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.1332, allocations: 4 kB / 369.3 MB, free: 2.395 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.1332, allocations: 4 kB / 369.3 MB, free: 2.391 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003163/0.1335, allocations: 91.83 kB / 369.3 MB, free: 2.301 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.1336, allocations: 4 kB / 369.4 MB, free: 2.297 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.1337, allocations: 12 kB / 369.4 MB, free: 2.285 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.336e-05/0.1337, allocations: 19.94 kB / 369.4 MB, free: 2.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.0001808/0.1339, allocations: 145.8 kB / 369.5 MB, free: 2.113 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.475e-05/0.134, allocations: 39.62 kB / 369.6 MB, free: 2.074 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.742e-05/0.1341, allocations: 37.86 kB / 369.6 MB, free: 2.039 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.1341, allocations: 8.031 kB / 369.6 MB, free: 2.031 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.1341, allocations: 3.938 kB / 369.6 MB, free: 2.027 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.1341, allocations: 7.984 kB / 369.6 MB, free: 2.02 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001353/0.1355, allocations: 1.051 MB / 370.7 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.1355, allocations: 4 kB / 370.7 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003548/0.1358, allocations: 100.1 kB / 370.8 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.494e-05/0.1359, allocations: 11.94 kB / 370.8 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.516e-05/0.1359, allocations: 8 kB / 370.8 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/0.1359, allocations: 4 kB / 370.8 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.1359, allocations: 4 kB / 370.8 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1603/0.2962, allocations: 0.717 MB / 371.5 MB, free: 19.65 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.2964, allocations: 105.1 kB / 371.6 MB, free: 19.56 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.227e-05/0.2965, allocations: 9.656 kB / 371.6 MB, free: 19.56 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002476/0.2967, allocations: 10.66 kB / 371.6 MB, free: 19.56 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.588e-05/0.2968, allocations: 35.22 kB / 371.7 MB, free: 19.56 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.502e-05/0.2968, allocations: 17.16 kB / 371.7 MB, free: 19.56 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001103/0.2969, allocations: 136.9 kB / 371.8 MB, free: 19.48 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2969, allocations: 0.5 kB / 371.8 MB, free: 19.48 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004802/0.2974, allocations: 73.56 kB / 371.9 MB, free: 19.48 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.0001092/0.2975, allocations: 120.5 kB / 372 MB, free: 19.4 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004557/0.298, allocations: 264.4 kB / 372.3 MB, free: 19.4 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.298, allocations: 2.094 kB / 372.3 MB, free: 19.4 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000188/0.2982, allocations: 149 kB / 372.4 MB, free: 19.39 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006345/0.2988, allocations: 60.61 kB / 372.5 MB, free: 19.39 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.3, allocations: 0.9131 MB / 373.4 MB, free: 18.89 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001978/0.3002, allocations: 0.7671 MB / 374.2 MB, free: 18.2 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000117/0.3004, allocations: 31.81 kB / 374.2 MB, free: 18.19 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.771e-05/0.3004, allocations: 28.56 kB / 374.2 MB, free: 18.19 MB / 302.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3004, allocations: 0 / 374.2 MB, free: 18.19 MB / 302.1 MB Notification: Performance of Templates: time 0.007012/0.3075, allocations: 2.991 MB / 377.2 MB, free: 18 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches