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.001165/0.001165, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001161/0.001162, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.358/1.358, allocations: 227.4 MB / 246.9 MB, free: 9.027 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 58.44 kB / 306.9 MB, free: 0.8281 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.115, allocations: 50.53 MB / 357.4 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003584/0.1187, allocations: 2.479 MB / 359.9 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004516/0.1191, allocations: 243 kB / 360.1 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.1193, allocations: 7.938 kB / 360.2 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001531/0.1194, allocations: 31.77 kB / 360.2 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001558/0.1196, allocations: 71.41 kB / 360.3 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001656/0.1198, allocations: 47.95 kB / 360.3 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002729/0.1201, allocations: 286.6 kB / 360.6 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001841/0.1202, allocations: 82.23 kB / 360.7 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.1204, allocations: 99.59 kB / 360.8 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001394/0.1205, allocations: 119.5 kB / 360.9 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.344e-05/0.1205, allocations: 16 kB / 360.9 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.985e-05/0.1206, allocations: 12 kB / 360.9 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.095e-05/0.1206, allocations: 47.78 kB / 360.9 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.1208, allocations: 123.4 kB / 361.1 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000216/0.121, allocations: 211.7 kB / 361.3 MB, free: 10.42 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.121, allocations: 3.938 kB / 361.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.42e-07/0.121, allocations: 4 kB / 361.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.121, allocations: 0 / 361.3 MB, free: 10.41 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.0008096/0.1218, allocations: 0.5364 MB / 361.8 MB, free: 9.824 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.1219, allocations: 12.03 kB / 361.8 MB, free: 9.812 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.103e-05/0.1219, allocations: 28.56 kB / 361.9 MB, free: 9.785 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002555/0.1222, allocations: 245.3 kB / 362.1 MB, free: 9.504 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.1222, allocations: 16.94 kB / 362.1 MB, free: 9.488 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.749e-05/0.1223, allocations: 32.27 kB / 362.1 MB, free: 9.457 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003942/0.1227, allocations: 244 kB / 362.4 MB, free: 9.207 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.1227, allocations: 8.172 kB / 362.4 MB, free: 9.199 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.46e-05/0.1227, allocations: 11.94 kB / 362.4 MB, free: 9.188 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.208e-06/0.1228, allocations: 8 kB / 362.4 MB, free: 9.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002755/0.123, allocations: 155.8 kB / 362.6 MB, free: 9.027 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.1241, allocations: 0.8045 MB / 363.4 MB, free: 8.164 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004886/0.1246, allocations: 295.7 kB / 363.7 MB, free: 7.848 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002297/0.1248, allocations: 126.5 kB / 363.8 MB, free: 7.715 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.1249, allocations: 4 kB / 363.8 MB, free: 7.711 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.1249, allocations: 50.48 kB / 363.8 MB, free: 7.652 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 1.603e-06/0.1249, allocations: 0 / 363.8 MB, free: 7.652 MB / 302.1 MB Notification: Performance of matching and sorting (n=45): time 0.002566/0.1275, allocations: 1.948 MB / 365.8 MB, free: 5.449 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.145e-05/0.1276, allocations: 106.8 kB / 365.9 MB, free: 5.32 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/0.1278, allocations: 190.6 kB / 366.1 MB, free: 5.117 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.1278, allocations: 33.7 kB / 366.1 MB, free: 5.078 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.969e-05/0.1279, allocations: 136.8 kB / 366.2 MB, free: 4.938 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/0.128, allocations: 165.6 kB / 366.4 MB, free: 4.773 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.1281, allocations: 74.08 kB / 366.5 MB, free: 4.695 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.1282, allocations: 338.8 kB / 366.8 MB, free: 4.355 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.1284, allocations: 88.84 kB / 366.9 MB, free: 4.27 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001993/0.1286, allocations: 167.2 kB / 367.1 MB, free: 4.082 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003735/0.129, allocations: 267 kB / 367.3 MB, free: 3.801 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.129, allocations: 0 / 367.3 MB, free: 3.801 MB / 302.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004764/0.1295, allocations: 346.8 kB / 367.7 MB, free: 3.461 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.1295, allocations: 15.97 kB / 367.7 MB, free: 3.445 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.1295, allocations: 0 / 367.7 MB, free: 3.445 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.1295, allocations: 7.984 kB / 367.7 MB, free: 3.438 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003313/0.1299, allocations: 87.91 kB / 367.8 MB, free: 3.352 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.1299, allocations: 3.938 kB / 367.8 MB, free: 3.348 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.13, allocations: 12 kB / 367.8 MB, free: 3.336 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.472e-05/0.13, allocations: 19.94 kB / 367.8 MB, free: 3.316 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.0001458/0.1302, allocations: 150.8 kB / 367.9 MB, free: 3.16 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.81e-05/0.1303, allocations: 39.64 kB / 368 MB, free: 3.121 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.173e-05/0.1304, allocations: 33.88 kB / 368 MB, free: 3.09 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.1304, allocations: 4 kB / 368 MB, free: 3.086 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.1304, allocations: 4 kB / 368 MB, free: 3.082 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.1304, allocations: 3.984 kB / 368 MB, free: 3.078 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001363/0.1318, allocations: 1.05 MB / 369.1 MB, free: 1.941 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.1318, allocations: 4 kB / 369.1 MB, free: 1.938 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003562/0.1322, allocations: 91.83 kB / 369.2 MB, free: 1.848 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.077e-05/0.1322, allocations: 11.94 kB / 369.2 MB, free: 1.836 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.374e-05/0.1322, allocations: 15.94 kB / 369.2 MB, free: 1.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.1322, allocations: 4 kB / 369.2 MB, free: 1.816 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.1322, allocations: 7.938 kB / 369.2 MB, free: 1.809 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007467/0.133, allocations: 0.7214 MB / 369.9 MB, free: 1.047 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.488e-05/0.1331, allocations: 104.9 kB / 370 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.954e-05/0.1331, allocations: 11.94 kB / 370 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/0.1333, allocations: 8 kB / 370.1 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.739e-05/0.1334, allocations: 35.95 kB / 370.1 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.1334, allocations: 12 kB / 370.1 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001107/0.1335, allocations: 140.9 kB / 370.2 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1335, allocations: 0 / 370.2 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004063/0.1339, allocations: 79.94 kB / 370.3 MB, free: 0.6445 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.0001464/0.1341, allocations: 115.1 kB / 370.4 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004209/0.1345, allocations: 263.9 kB / 370.7 MB, free: 272 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.1345, allocations: 8.188 kB / 370.7 MB, free: 264 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001818/0.1347, allocations: 139.7 kB / 370.8 MB, free: 124 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007288/0.1354, allocations: 72.08 kB / 370.9 MB, free: 52 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1801/0.3155, allocations: 1.033 MB / 371.9 MB, free: 19.43 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002368/0.3158, allocations: 0.7678 MB / 372.7 MB, free: 18.73 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.795e-05/0.3159, allocations: 29.69 kB / 372.7 MB, free: 18.72 MB / 302.1 MB Notification: Performance of SimCode: time 1.083e-06/0.3159, allocations: 0 / 372.7 MB, free: 18.72 MB / 302.1 MB Notification: Performance of Templates: time 0.006753/0.3227, allocations: 3.447 MB / 376.2 MB, free: 18.43 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/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