Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 210.6 kB / 24.47 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.436/1.436, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Mechanics.Translational.Examples.Damper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 43.92 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.2185, allocations: 53.37 MB / 432.3 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003383/0.2218, allocations: 2.265 MB / 434.6 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004573/0.2223, allocations: 243.1 kB / 434.8 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.2224, allocations: 7.938 kB / 434.8 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001317/0.2225, allocations: 43.58 kB / 434.9 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001642/0.2227, allocations: 95.14 kB / 435 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001532/0.2229, allocations: 55.92 kB / 435 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003087/0.2232, allocations: 294.6 kB / 435.3 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.2233, allocations: 69.64 kB / 435.4 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.2234, allocations: 111.6 kB / 435.5 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.2236, allocations: 119.5 kB / 435.6 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.398e-05/0.2236, allocations: 24 kB / 435.6 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.656e-05/0.2237, allocations: 20 kB / 435.6 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.95e-05/0.2237, allocations: 55.77 kB / 435.7 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.2238, allocations: 107.5 kB / 435.8 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003136/0.2242, allocations: 305.7 kB / 436.1 MB, free: 2.898 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.2242, allocations: 0 / 436.1 MB, free: 2.898 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2242, allocations: 0 / 436.1 MB, free: 2.898 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.387e-06/0.2242, allocations: 0 / 436.1 MB, free: 2.898 MB / 334.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.0007448/0.2249, allocations: 469.6 kB / 436.6 MB, free: 2.406 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.923e-05/0.2249, allocations: 8.031 kB / 436.6 MB, free: 2.398 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.907e-05/0.225, allocations: 36.75 kB / 436.6 MB, free: 2.363 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002882/0.2253, allocations: 190.7 kB / 436.8 MB, free: 2.148 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.2253, allocations: 20.88 kB / 436.8 MB, free: 2.129 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.826e-05/0.2254, allocations: 28.31 kB / 436.8 MB, free: 2.102 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004074/0.2258, allocations: 239.2 kB / 437.1 MB, free: 1.852 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.2258, allocations: 8.125 kB / 437.1 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/0.2258, allocations: 11.94 kB / 437.1 MB, free: 1.832 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.2258, allocations: 8 kB / 437.1 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002736/0.2261, allocations: 151.9 kB / 437.3 MB, free: 1.676 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009511/0.2271, allocations: 0.672 MB / 437.9 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000497/0.2276, allocations: 271.7 kB / 438.2 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000238/0.2278, allocations: 126.5 kB / 438.3 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.2278, allocations: 4 kB / 438.3 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.2278, allocations: 38.56 kB / 438.4 MB, free: 500 kB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.623e-06/0.2278, allocations: 7.875 kB / 438.4 MB, free: 492 kB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.002523/0.2304, allocations: 1.496 MB / 439.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.86e-05/0.2304, allocations: 110.8 kB / 440 MB, free: 14.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.2306, allocations: 170.9 kB / 440.1 MB, free: 14.53 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.451e-05/0.2306, allocations: 33.7 kB / 440.2 MB, free: 14.49 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.533e-05/0.2307, allocations: 148.8 kB / 440.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/0.2308, allocations: 166.6 kB / 440.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.2309, allocations: 78.09 kB / 440.5 MB, free: 14.1 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.2311, allocations: 334.8 kB / 440.9 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000157/0.2313, allocations: 92.83 kB / 441 MB, free: 13.67 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002052/0.2315, allocations: 158.3 kB / 441.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003853/0.2318, allocations: 275.1 kB / 441.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.2318, allocations: 0 / 441.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005166/0.2324, allocations: 341.2 kB / 441.7 MB, free: 12.87 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.2324, allocations: 12.09 kB / 441.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.2324, allocations: 0 / 441.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.2324, allocations: 7.938 kB / 441.7 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003507/0.2328, allocations: 99.83 kB / 441.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.2328, allocations: 7.984 kB / 441.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.2329, allocations: 4 kB / 441.9 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.719e-05/0.2329, allocations: 16 kB / 441.9 MB, free: 12.73 MB / 350.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.0001431/0.233, allocations: 149.7 kB / 442 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.632e-05/0.2331, allocations: 32.75 kB / 442 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.019e-05/0.2332, allocations: 41.73 kB / 442.1 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.2332, allocations: 8 kB / 442.1 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.2332, allocations: 3.938 kB / 442.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.2332, allocations: 7.938 kB / 442.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001317/0.2345, allocations: 0.9332 MB / 443 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.156e-06/0.2345, allocations: 12.27 kB / 443.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003879/0.2349, allocations: 87.91 kB / 443.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.744e-06/0.2349, allocations: 8 kB / 443.1 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.426e-05/0.235, allocations: 15.94 kB / 443.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.985e-06/0.235, allocations: 11.92 kB / 443.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.235, allocations: 4 kB / 443.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007776/0.2358, allocations: 0.7213 MB / 443.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.808e-05/0.2358, allocations: 23.86 kB / 443.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.226e-05/0.2358, allocations: 19.98 kB / 443.9 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002227/0.2361, allocations: 12 kB / 444 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.911e-05/0.2361, allocations: 31.89 kB / 444 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.159e-05/0.2361, allocations: 16 kB / 444 MB, free: 10.47 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.529e-05/0.2362, allocations: 128.2 kB / 444.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2362, allocations: 0 / 444.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004237/0.2366, allocations: 75.98 kB / 444.2 MB, free: 10.27 MB / 350.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.000107/0.2368, allocations: 111.1 kB / 444.3 MB, free: 10.15 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004265/0.2372, allocations: 261.5 kB / 444.6 MB, free: 9.898 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2372, allocations: 0 / 444.6 MB, free: 9.898 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001952/0.2374, allocations: 139.7 kB / 444.7 MB, free: 9.762 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006551/0.238, allocations: 58.36 kB / 444.8 MB, free: 9.707 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.2394, allocations: 0.9177 MB / 445.7 MB, free: 8.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001614/0.2396, allocations: 159.8 kB / 445.8 MB, free: 8.555 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001114/0.2397, allocations: 30.97 kB / 445.9 MB, free: 8.523 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.079e-05/0.2397, allocations: 27.44 kB / 445.9 MB, free: 8.496 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2397, allocations: 0 / 445.9 MB, free: 8.496 MB / 350.1 MB Notification: Performance of Templates: time 0.007153/0.2469, allocations: 3.346 MB / 449.2 MB, free: 5.199 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.277663229004247]