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.001129/0.001129, allocations: 84.25 kB / 22.21 MB, free: 2.289 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.001612/0.001612, allocations: 166.8 kB / 25.61 MB, free: 8.445 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 0.9554/0.9554, allocations: 177 MB / 205.9 MB, free: 4.449 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.243e-06/1.243e-06, allocations: 0 / 274.1 MB, free: 4.293 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.692e-05/1.816e-05, allocations: 2.312 kB / 274.1 MB, free: 4.289 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003593/0.003611, allocations: 2.409 MB / 276.5 MB, free: 1.879 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005248/0.004136, allocations: 244.2 kB / 276.7 MB, free: 1.641 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001257/0.004262, allocations: 12.88 kB / 276.8 MB, free: 1.629 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001422/0.004404, allocations: 39.58 kB / 276.8 MB, free: 1.59 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001626/0.004567, allocations: 86.3 kB / 276.9 MB, free: 1.508 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001669/0.004733, allocations: 63.84 kB / 276.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002883/0.005022, allocations: 302.3 kB / 277.2 MB, free: 1.148 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001743/0.005196, allocations: 66.05 kB / 277.3 MB, free: 1.082 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001984/0.005394, allocations: 169.7 kB / 277.5 MB, free: 0.918 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/0.005541, allocations: 95.64 kB / 277.6 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.802e-05/0.005579, allocations: 20 kB / 277.6 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.46e-05/0.005614, allocations: 24 kB / 277.6 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.64e-05/0.00566, allocations: 55.81 kB / 277.7 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.59e-05/0.005746, allocations: 88.42 kB / 277.7 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002391/0.005985, allocations: 195.2 kB / 277.9 MB, free: 460 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.005989, allocations: 7.984 kB / 277.9 MB, free: 452 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.00599, allocations: 0 / 277.9 MB, free: 452 kB / 250.7 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.005995, allocations: 0 / 277.9 MB, free: 452 kB / 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.0006396/0.006634, allocations: 0.5662 MB / 278.5 MB, free: 15.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.006667, allocations: 8.031 kB / 278.5 MB, free: 15.83 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.355e-05/0.006741, allocations: 52.75 kB / 278.6 MB, free: 15.78 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003243/0.009984, allocations: 188.9 kB / 278.7 MB, free: 15.56 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.01, allocations: 16.88 kB / 278.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.979e-05/0.01004, allocations: 32.31 kB / 278.8 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001983/0.01024, allocations: 191.6 kB / 279 MB, free: 15.31 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.01026, allocations: 4.172 kB / 279 MB, free: 15.31 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.01027, allocations: 16.36 kB / 279 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.01028, allocations: 8.375 kB / 279 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.01038, allocations: 86.19 kB / 279.1 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006548/0.01104, allocations: 0.7554 MB / 279.9 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003777/0.01141, allocations: 226.5 kB / 280.1 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001451/0.01156, allocations: 91 kB / 280.2 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.01158, allocations: 8 kB / 280.2 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.01161, allocations: 49.27 kB / 280.2 MB, free: 13.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=33): time 2.394e-06/0.01161, allocations: 0 / 280.2 MB, free: 13.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.001776/0.01339, allocations: 1.265 MB / 281.5 MB, free: 12.55 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.326e-05/0.01344, allocations: 110.8 kB / 281.6 MB, free: 12.42 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.01358, allocations: 233.7 kB / 281.8 MB, free: 12.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.0136, allocations: 29.7 kB / 281.8 MB, free: 12.14 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.754e-05/0.0137, allocations: 191.5 kB / 282 MB, free: 11.95 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.01381, allocations: 162.6 kB / 282.2 MB, free: 11.79 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.01392, allocations: 87.81 kB / 282.3 MB, free: 11.7 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002799/0.0142, allocations: 0.5156 MB / 282.8 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.647e-05/0.01427, allocations: 40.91 kB / 282.8 MB, free: 11.13 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.0144, allocations: 130.7 kB / 283 MB, free: 10.97 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002364/0.01464, allocations: 197.6 kB / 283.2 MB, free: 10.75 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.01464, allocations: 0 / 283.2 MB, free: 10.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0003624/0.015, allocations: 266.8 kB / 283.4 MB, free: 10.48 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.01502, allocations: 12.09 kB / 283.4 MB, free: 10.47 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.01503, allocations: 0 / 283.4 MB, free: 10.47 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.01504, allocations: 4 kB / 283.4 MB, free: 10.47 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002911/0.01533, allocations: 99.84 kB / 283.5 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.01534, allocations: 4 kB / 283.5 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.828e-05/0.01543, allocations: 19.92 kB / 283.6 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.731e-05/0.01545, allocations: 8 kB / 283.6 MB, free: 10.34 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.0001177/0.01557, allocations: 180.5 kB / 283.7 MB, free: 10.15 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.29e-05/0.01566, allocations: 35.86 kB / 283.8 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.496e-05/0.01573, allocations: 33.81 kB / 283.8 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.01573, allocations: 12 kB / 283.8 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.01574, allocations: 0 / 283.8 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.814e-06/0.01575, allocations: 3.984 kB / 283.8 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.01688, allocations: 0.9818 MB / 284.8 MB, free: 9.012 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.01689, allocations: 288 / 284.8 MB, free: 9.012 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003074/0.0172, allocations: 99.83 kB / 284.9 MB, free: 8.914 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.0172, allocations: 4 kB / 284.9 MB, free: 8.91 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/0.01723, allocations: 12 kB / 284.9 MB, free: 8.898 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.223e-06/0.01723, allocations: 11.94 kB / 284.9 MB, free: 8.887 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.01724, allocations: 0 / 284.9 MB, free: 8.887 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006065/0.01784, allocations: 0.7659 MB / 285.7 MB, free: 8.062 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.559e-05/0.01788, allocations: 23.86 kB / 285.7 MB, free: 8.039 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.356e-05/0.01791, allocations: 11.98 kB / 285.7 MB, free: 8.027 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/0.01811, allocations: 16 kB / 285.7 MB, free: 8.012 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.315e-05/0.01817, allocations: 35.83 kB / 285.8 MB, free: 7.977 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.01818, allocations: 8 kB / 285.8 MB, free: 7.969 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.641e-05/0.01826, allocations: 156.2 kB / 285.9 MB, free: 7.816 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01826, allocations: 0 / 285.9 MB, free: 7.816 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004747/0.01873, allocations: 72 kB / 286 MB, free: 7.746 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.0003726/0.01911, allocations: 115.1 kB / 286.1 MB, free: 7.625 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002894/0.01939, allocations: 192.4 kB / 286.3 MB, free: 7.434 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.0194, allocations: 4 kB / 286.3 MB, free: 7.43 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.01953, allocations: 110.2 kB / 286.4 MB, free: 7.32 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006963/0.02023, allocations: 75.17 kB / 286.5 MB, free: 7.25 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.02132, allocations: 0.7964 MB / 287.3 MB, free: 6.375 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.973e-05/0.02141, allocations: 97.28 kB / 287.4 MB, free: 6.262 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001155/0.02153, allocations: 30.95 kB / 287.4 MB, free: 6.23 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001828/0.02171, allocations: 134.2 kB / 287.5 MB, free: 6.098 MB / 266.7 MB Notification: Performance of SimCode: time 8.22e-07/0.02171, allocations: 0 / 287.5 MB, free: 6.098 MB / 266.7 MB Notification: Performance of Templates: time 0.006857/0.02857, allocations: 3.304 MB / 290.9 MB, free: 2.863 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 -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.760586792137474]