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.0009756/0.0009756, allocations: 85.8 kB / 21.42 MB, free: 3.07 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.001521/0.001521, allocations: 165.9 kB / 24.82 MB, free: 8.32 MB / 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.002/1.002, allocations: 177 MB / 205.1 MB, free: 5.508 MB / 186.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.232e-06/1.232e-06, allocations: 0 / 273.3 MB, free: 1.27 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.057e-06/1.029e-05, allocations: 2.312 kB / 273.3 MB, free: 1.266 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.002283/0.002294, allocations: 2.412 MB / 275.7 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004422/0.002736, allocations: 239.1 kB / 276 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.813e-05/0.002824, allocations: 7.938 kB / 276 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.994e-05/0.002924, allocations: 47.52 kB / 276 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001135/0.003038, allocations: 87.2 kB / 276.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001228/0.00316, allocations: 63.84 kB / 276.2 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002024/0.003363, allocations: 306.4 kB / 276.5 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.00348, allocations: 62.62 kB / 276.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.003613, allocations: 171.6 kB / 276.7 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.003721, allocations: 91.69 kB / 276.8 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.718e-05/0.003748, allocations: 24 kB / 276.8 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.849e-05/0.003776, allocations: 24 kB / 276.8 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.15e-05/0.003808, allocations: 47.83 kB / 276.9 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.072e-05/0.003869, allocations: 95.77 kB / 277 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.00404, allocations: 191.3 kB / 277.1 MB, free: 13.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.004042, allocations: 4 kB / 277.2 MB, free: 13.4 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.6e-07/0.004043, allocations: 0 / 277.2 MB, free: 13.4 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.146e-06/0.004046, allocations: 0 / 277.2 MB, free: 13.4 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.0004253/0.004471, allocations: 0.5662 MB / 277.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.817e-05/0.004499, allocations: 15.98 kB / 277.7 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.907e-05/0.004548, allocations: 52.75 kB / 277.8 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.004712, allocations: 188.9 kB / 278 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.004727, allocations: 20.88 kB / 278 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.972e-05/0.004756, allocations: 32.3 kB / 278 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.004938, allocations: 191.6 kB / 278.2 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.004949, allocations: 192 / 278.2 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.004962, allocations: 8.375 kB / 278.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.004969, allocations: 8.375 kB / 278.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.793e-05/0.005067, allocations: 98.14 kB / 278.3 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005564/0.005624, allocations: 0.7632 MB / 279.1 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002387/0.005862, allocations: 217.3 kB / 279.3 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.005966, allocations: 94.98 kB / 279.4 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.005978, allocations: 11.94 kB / 279.4 MB, free: 10.99 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.006, allocations: 45.33 kB / 279.4 MB, free: 10.93 MB / 266.7 MB Notification: Performance of pre-optimization done (n=33): time 1.072e-06/0.006001, allocations: 0 / 279.4 MB, free: 10.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.001188/0.007189, allocations: 1.261 MB / 280.7 MB, free: 9.504 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.007228, allocations: 110.8 kB / 280.8 MB, free: 9.371 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.303e-05/0.007321, allocations: 225.7 kB / 281 MB, free: 9.133 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.007338, allocations: 33.7 kB / 281.1 MB, free: 9.094 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.209e-05/0.00741, allocations: 191.5 kB / 281.3 MB, free: 8.902 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.158e-05/0.007491, allocations: 170.5 kB / 281.4 MB, free: 8.734 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.567e-05/0.007567, allocations: 83.8 kB / 281.5 MB, free: 8.645 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.00769, allocations: 0.5117 MB / 282 MB, free: 8.121 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.719e-05/0.007737, allocations: 40.91 kB / 282.1 MB, free: 8.078 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.539e-05/0.007822, allocations: 126.7 kB / 282.2 MB, free: 7.926 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001615/0.007984, allocations: 200.3 kB / 282.4 MB, free: 7.703 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.007985, allocations: 0 / 282.4 MB, free: 7.703 MB / 266.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000227/0.008212, allocations: 261.2 kB / 282.6 MB, free: 7.441 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.008225, allocations: 8 kB / 282.6 MB, free: 7.434 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.008229, allocations: 0 / 282.6 MB, free: 7.434 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.00824, allocations: 4 kB / 282.6 MB, free: 7.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.008418, allocations: 95.83 kB / 282.7 MB, free: 7.336 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.008422, allocations: 4 kB / 282.7 MB, free: 7.332 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.404e-05/0.008476, allocations: 15.94 kB / 282.8 MB, free: 7.316 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.008488, allocations: 8 kB / 282.8 MB, free: 7.309 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 9.57e-05/0.008583, allocations: 184.4 kB / 282.9 MB, free: 7.117 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.783e-05/0.008641, allocations: 47.91 kB / 283 MB, free: 7.07 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.732e-05/0.008688, allocations: 41.8 kB / 283 MB, free: 7.027 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.008694, allocations: 8 kB / 283 MB, free: 7.02 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.008697, allocations: 0 / 283 MB, free: 7.02 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.008701, allocations: 3.938 kB / 283 MB, free: 7.016 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007605/0.009462, allocations: 0.9889 MB / 284 MB, free: 5.953 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.009465, allocations: 0 / 284 MB, free: 5.953 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001972/0.009662, allocations: 87.91 kB / 284.1 MB, free: 5.867 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.009666, allocations: 4 kB / 284.1 MB, free: 5.863 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.009679, allocations: 8 kB / 284.1 MB, free: 5.855 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/0.009685, allocations: 15.92 kB / 284.1 MB, free: 5.84 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.009687, allocations: 0 / 284.1 MB, free: 5.84 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004599/0.01015, allocations: 0.7585 MB / 284.9 MB, free: 5.016 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.527e-05/0.01017, allocations: 31.94 kB / 284.9 MB, free: 4.984 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.01019, allocations: 12 kB / 284.9 MB, free: 4.973 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.0103, allocations: 8 kB / 285 MB, free: 4.965 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.301e-05/0.01033, allocations: 35.83 kB / 285 MB, free: 4.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.01034, allocations: 12 kB / 285 MB, free: 4.918 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.649e-05/0.0104, allocations: 164.1 kB / 285.2 MB, free: 4.758 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0104, allocations: 0 / 285.2 MB, free: 4.758 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002776/0.01067, allocations: 72 kB / 285.2 MB, free: 4.688 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 7.195e-05/0.01075, allocations: 114.9 kB / 285.3 MB, free: 4.57 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001902/0.01094, allocations: 193.1 kB / 285.5 MB, free: 4.379 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.01094, allocations: 4 kB / 285.5 MB, free: 4.375 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.83e-05/0.01103, allocations: 108.5 kB / 285.6 MB, free: 4.266 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003829/0.01141, allocations: 73.14 kB / 285.7 MB, free: 4.195 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007727/0.01218, allocations: 0.7921 MB / 286.5 MB, free: 3.324 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.397e-05/0.01225, allocations: 97.28 kB / 286.6 MB, free: 3.211 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.92e-05/0.01233, allocations: 34.95 kB / 286.6 MB, free: 3.176 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000133/0.01246, allocations: 130.2 kB / 286.8 MB, free: 3.047 MB / 266.7 MB Notification: Performance of SimCode: time 1.042e-06/0.01246, allocations: 0 / 286.8 MB, free: 3.047 MB / 266.7 MB Notification: Performance of Templates: time 0.008829/0.02129, allocations: 3.245 MB / 290 MB, free: 15.88 MB / 282.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 -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.5608207159675658]