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.001019/0.001019, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001405/0.002424, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001033/0.001033, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001303/0.002336, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9252/0.9252, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0782/1.003, allocations: 53.87 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] 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.413e-06/1.413e-06, allocations: 0 / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.188e-05/2.33e-05, allocations: 2.312 kB / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.004063/0.004087, allocations: 2.462 MB / 247.5 MB, free: 11.19 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006726/0.004759, allocations: 258.9 kB / 247.7 MB, free: 10.93 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001195/0.004879, allocations: 7.938 kB / 247.7 MB, free: 10.93 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.631e-05/0.004975, allocations: 43.58 kB / 247.8 MB, free: 10.88 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001424/0.005117, allocations: 95.19 kB / 247.9 MB, free: 10.79 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000125/0.005243, allocations: 55.86 kB / 247.9 MB, free: 10.73 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002411/0.005484, allocations: 302.5 kB / 248.2 MB, free: 10.44 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001681/0.005652, allocations: 65.44 kB / 248.3 MB, free: 10.38 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002175/0.005869, allocations: 199.5 kB / 248.5 MB, free: 10.18 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.005992, allocations: 79.72 kB / 248.5 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.915e-05/0.006032, allocations: 28 kB / 248.6 MB, free: 10.08 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.464e-05/0.006056, allocations: 20 kB / 248.6 MB, free: 10.06 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.752e-05/0.006094, allocations: 43.81 kB / 248.6 MB, free: 10.02 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.107e-05/0.006165, allocations: 75.88 kB / 248.7 MB, free: 9.941 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002174/0.006382, allocations: 175.4 kB / 248.9 MB, free: 9.77 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.747e-05/0.0064, allocations: 0 / 248.9 MB, free: 9.77 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.006401, allocations: 0 / 248.9 MB, free: 9.77 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.954e-05/0.00642, allocations: 0 / 248.9 MB, free: 9.77 MB / 250.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.0005603/0.00698, allocations: 0.5075 MB / 249.4 MB, free: 9.234 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.007017, allocations: 12.61 kB / 249.4 MB, free: 9.223 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.802e-05/0.007075, allocations: 40.91 kB / 249.4 MB, free: 9.184 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001994/0.007274, allocations: 166.1 kB / 249.6 MB, free: 8.992 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.007293, allocations: 16.88 kB / 249.6 MB, free: 8.973 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.678e-05/0.00733, allocations: 28.38 kB / 249.6 MB, free: 8.945 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.007525, allocations: 194.9 kB / 249.8 MB, free: 8.742 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.007542, allocations: 12.12 kB / 249.8 MB, free: 8.73 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.007557, allocations: 8.375 kB / 249.9 MB, free: 8.723 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.007565, allocations: 4.375 kB / 249.9 MB, free: 8.719 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.007672, allocations: 83.08 kB / 249.9 MB, free: 8.641 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005377/0.00821, allocations: 0.543 MB / 250.5 MB, free: 8.074 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002336/0.008443, allocations: 191.9 kB / 250.7 MB, free: 7.859 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.14e-05/0.008535, allocations: 74.55 kB / 250.7 MB, free: 7.777 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.301e-05/0.008548, allocations: 12 kB / 250.8 MB, free: 7.766 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.008574, allocations: 42.55 kB / 250.8 MB, free: 7.715 MB / 250.7 MB Notification: Performance of pre-optimization done (n=33): time 1.793e-06/0.008576, allocations: 0 / 250.8 MB, free: 7.715 MB / 250.7 MB Notification: Performance of matching and sorting (n=45): time 0.00139/0.009966, allocations: 1.287 MB / 252.1 MB, free: 6.281 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.01001, allocations: 110.8 kB / 252.2 MB, free: 6.148 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.983e-05/0.0101, allocations: 170.6 kB / 252.4 MB, free: 5.969 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.01011, allocations: 29.7 kB / 252.4 MB, free: 5.934 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.211e-05/0.01017, allocations: 132.8 kB / 252.5 MB, free: 5.797 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.84e-05/0.01025, allocations: 170.5 kB / 252.7 MB, free: 5.629 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.201e-05/0.01031, allocations: 70.17 kB / 252.8 MB, free: 5.551 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.9e-05/0.01039, allocations: 346.7 kB / 253.1 MB, free: 5.203 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.947e-05/0.01043, allocations: 40.92 kB / 253.1 MB, free: 5.164 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7e-05/0.0105, allocations: 106.9 kB / 253.2 MB, free: 5.043 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.01064, allocations: 177.7 kB / 253.4 MB, free: 4.848 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.01064, allocations: 0 / 253.4 MB, free: 4.848 MB / 250.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0001781/0.01082, allocations: 208.6 kB / 253.6 MB, free: 4.641 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.01083, allocations: 7.281 kB / 253.6 MB, free: 4.637 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.01084, allocations: 4.094 kB / 253.6 MB, free: 4.633 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.01085, allocations: 8 kB / 253.6 MB, free: 4.625 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002262/0.01107, allocations: 111.8 kB / 253.7 MB, free: 4.516 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.01108, allocations: 7.938 kB / 253.7 MB, free: 4.508 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.924e-05/0.01113, allocations: 12 kB / 253.8 MB, free: 4.496 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.01114, allocations: 12 kB / 253.8 MB, free: 4.484 MB / 250.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 7.281e-05/0.01121, allocations: 125.8 kB / 253.9 MB, free: 4.352 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.777e-05/0.01126, allocations: 31.97 kB / 253.9 MB, free: 4.32 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.183e-05/0.01131, allocations: 37.8 kB / 254 MB, free: 4.289 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.01131, allocations: 8 kB / 254 MB, free: 4.281 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.01132, allocations: 4 kB / 254 MB, free: 4.277 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.01132, allocations: 3.938 kB / 254 MB, free: 4.273 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006397/0.01196, allocations: 0.7382 MB / 254.7 MB, free: 3.484 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.01197, allocations: 0 / 254.7 MB, free: 3.484 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002302/0.0122, allocations: 119.4 kB / 254.8 MB, free: 3.371 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.533e-05/0.01222, allocations: 23.81 kB / 254.9 MB, free: 3.348 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.01223, allocations: 7.984 kB / 254.9 MB, free: 3.34 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.01224, allocations: 16 kB / 254.9 MB, free: 3.324 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.01225, allocations: 11.88 kB / 254.9 MB, free: 3.312 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.01225, allocations: 4 kB / 254.9 MB, free: 3.309 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003232/0.01257, allocations: 0.5414 MB / 255.4 MB, free: 2.719 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.0126, allocations: 16 kB / 255.5 MB, free: 2.703 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.0127, allocations: 8 kB / 255.5 MB, free: 2.695 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-05/0.01273, allocations: 39.81 kB / 255.5 MB, free: 2.656 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.01274, allocations: 12 kB / 255.5 MB, free: 2.645 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.947e-05/0.01277, allocations: 41.86 kB / 255.6 MB, free: 2.602 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01277, allocations: 4 kB / 255.6 MB, free: 2.598 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002309/0.013, allocations: 68 kB / 255.6 MB, free: 2.531 MB / 250.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 9.607e-05/0.0131, allocations: 100.3 kB / 255.7 MB, free: 2.422 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001889/0.01328, allocations: 189.4 kB / 255.9 MB, free: 2.23 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.869e-06/0.01329, allocations: 4 kB / 255.9 MB, free: 2.227 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.62e-05/0.01337, allocations: 108.5 kB / 256 MB, free: 2.117 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.01373, allocations: 93.58 kB / 256.1 MB, free: 2.027 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.01484, allocations: 0.6351 MB / 256.7 MB, free: 1.328 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.325e-05/0.01491, allocations: 105.2 kB / 256.8 MB, free: 1.207 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.268e-05/0.01499, allocations: 35.05 kB / 256.9 MB, free: 1.176 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/0.01511, allocations: 119.3 kB / 257 MB, free: 1.059 MB / 250.7 MB Notification: Performance of SimCode: time 7.71e-07/0.01511, allocations: 0 / 257 MB, free: 1.059 MB / 250.7 MB Notification: Performance of Templates: time 0.004987/0.0201, allocations: 3.472 MB / 260.5 MB, free: 13.66 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5049830712378025]