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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002048/0.002048, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002606/0.002606, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.532/1.532, allocations: 177 MB / 204.5 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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=1000,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=1000,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 272.2 MB, free: 1.836 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.061e-05/2.199e-05, allocations: 6.312 kB / 272.2 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003642/0.003664, allocations: 2.277 MB / 274.5 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005276/0.004191, allocations: 247.1 kB / 274.7 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.004294, allocations: 7.938 kB / 274.7 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001537/0.004448, allocations: 39.58 kB / 274.8 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001721/0.00462, allocations: 87.2 kB / 274.8 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002703/0.00489, allocations: 55.92 kB / 274.9 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003629/0.005253, allocations: 310.4 kB / 275.2 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001644/0.005418, allocations: 65.98 kB / 275.3 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002159/0.005634, allocations: 171.6 kB / 275.4 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.00579, allocations: 79.72 kB / 275.5 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.602e-05/0.005836, allocations: 20 kB / 275.5 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.44e-05/0.00588, allocations: 28 kB / 275.6 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.016e-05/0.005941, allocations: 59.8 kB / 275.6 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.006065, allocations: 87.77 kB / 275.7 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003699/0.006435, allocations: 291 kB / 276 MB, free: 14.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.006437, allocations: 4 kB / 276 MB, free: 14.01 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.006437, allocations: 0 / 276 MB, free: 14.01 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.006443, allocations: 0 / 276 MB, free: 14.01 MB / 266.7 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.000813/0.007256, allocations: 485.5 kB / 276.5 MB, free: 13.5 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.00729, allocations: 11.98 kB / 276.5 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.007392, allocations: 52.75 kB / 276.5 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003085/0.0077, allocations: 182.1 kB / 276.7 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.007725, allocations: 24.81 kB / 276.7 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.634e-05/0.007781, allocations: 28.33 kB / 276.8 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004304/0.008212, allocations: 235.2 kB / 277 MB, free: 12.94 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.008228, allocations: 192 / 277 MB, free: 12.94 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.829e-05/0.008256, allocations: 12.38 kB / 277 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.008264, allocations: 8.375 kB / 277 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003/0.008564, allocations: 163.8 kB / 277.2 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001051/0.009615, allocations: 0.6682 MB / 277.8 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005561/0.01017, allocations: 275.7 kB / 278.1 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002626/0.01043, allocations: 122.5 kB / 278.2 MB, free: 11.63 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.793e-05/0.01046, allocations: 7.938 kB / 278.2 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.328e-05/0.0105, allocations: 42.55 kB / 278.3 MB, free: 11.57 MB / 266.7 MB Notification: Performance of pre-optimization done (n=33): time 1.854e-06/0.01051, allocations: 4 kB / 278.3 MB, free: 11.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.002852/0.01336, allocations: 1.513 MB / 279.8 MB, free: 9.902 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.691e-05/0.01345, allocations: 110.8 kB / 279.9 MB, free: 9.77 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001802/0.01363, allocations: 166.3 kB / 280.1 MB, free: 9.598 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.45e-05/0.01366, allocations: 37.7 kB / 280.1 MB, free: 9.555 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.01378, allocations: 144.8 kB / 280.2 MB, free: 9.41 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001592/0.01394, allocations: 166.5 kB / 280.4 MB, free: 9.246 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.01405, allocations: 78.19 kB / 280.5 MB, free: 9.164 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.01424, allocations: 334.8 kB / 280.8 MB, free: 8.828 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001683/0.01441, allocations: 88.97 kB / 280.9 MB, free: 8.742 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002373/0.01464, allocations: 162.9 kB / 281 MB, free: 8.559 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004408/0.01508, allocations: 272.9 kB / 281.3 MB, free: 8.273 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.01509, allocations: 4 kB / 281.3 MB, free: 8.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005711/0.01566, allocations: 355.7 kB / 281.7 MB, free: 7.918 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.01567, allocations: 7.938 kB / 281.7 MB, free: 7.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.01568, allocations: 4 kB / 281.7 MB, free: 7.906 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.0157, allocations: 4 kB / 281.7 MB, free: 7.902 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003579/0.01606, allocations: 91.84 kB / 281.8 MB, free: 7.812 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.01607, allocations: 7.938 kB / 281.8 MB, free: 7.805 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.01618, allocations: 8 kB / 281.8 MB, free: 7.797 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.754e-05/0.01621, allocations: 16 kB / 281.8 MB, free: 7.781 MB / 266.7 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.0002754/0.01648, allocations: 153.9 kB / 282 MB, free: 7.621 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.01659, allocations: 43.8 kB / 282 MB, free: 7.578 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.801e-05/0.01668, allocations: 33.81 kB / 282 MB, free: 7.543 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.01668, allocations: 4 kB / 282 MB, free: 7.539 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.01669, allocations: 0 / 282 MB, free: 7.539 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.0167, allocations: 11.92 kB / 282 MB, free: 7.527 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001516/0.01822, allocations: 0.9446 MB / 283 MB, free: 6.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.01822, allocations: 4 kB / 283 MB, free: 6.516 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003863/0.01861, allocations: 87.83 kB / 283.1 MB, free: 6.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.01862, allocations: 7.938 kB / 283.1 MB, free: 6.422 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.025e-05/0.01865, allocations: 16 kB / 283.1 MB, free: 6.406 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-06/0.01865, allocations: 4 kB / 283.1 MB, free: 6.402 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/0.01866, allocations: 4 kB / 283.1 MB, free: 6.398 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009038/0.01956, allocations: 0.7337 MB / 283.8 MB, free: 5.617 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.011e-05/0.0196, allocations: 23.86 kB / 283.9 MB, free: 5.594 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.041e-05/0.01964, allocations: 12.11 kB / 283.9 MB, free: 5.582 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002283/0.01987, allocations: 11.98 kB / 283.9 MB, free: 5.57 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.985e-05/0.01993, allocations: 39.81 kB / 283.9 MB, free: 5.531 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.576e-05/0.01996, allocations: 16 kB / 283.9 MB, free: 5.516 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001079/0.02006, allocations: 124.3 kB / 284.1 MB, free: 5.395 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02006, allocations: 0 / 284.1 MB, free: 5.395 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004528/0.02052, allocations: 72 kB / 284.1 MB, free: 5.324 MB / 266.7 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.0001504/0.02067, allocations: 111.2 kB / 284.2 MB, free: 5.207 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004686/0.02114, allocations: 260.3 kB / 284.5 MB, free: 4.953 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.02114, allocations: 4 kB / 284.5 MB, free: 4.949 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002138/0.02135, allocations: 136.7 kB / 284.6 MB, free: 4.816 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007113/0.02206, allocations: 87.03 kB / 284.7 MB, free: 4.738 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.0234, allocations: 0.7797 MB / 285.5 MB, free: 3.895 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001873/0.02359, allocations: 160 kB / 285.7 MB, free: 3.723 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001265/0.02372, allocations: 34.95 kB / 285.7 MB, free: 3.688 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.501e-05/0.0238, allocations: 28.5 kB / 285.7 MB, free: 3.66 MB / 266.7 MB Notification: Performance of SimCode: time 4.31e-07/0.0238, allocations: 3.938 kB / 285.7 MB, free: 3.656 MB / 266.7 MB Notification: Performance of Templates: time 0.007439/0.03124, allocations: 2.947 MB / 288.7 MB, free: 0.7578 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.294194104964845]