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.001247/0.001247, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.001208/0.001208, allocations: 159.9 kB / 24.91 MB, free: 8.719 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.9552/0.9552, allocations: 177 MB / 205.2 MB, free: 5.035 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.122e-06/1.122e-06, allocations: 0 / 273.4 MB, free: 1.078 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.21e-05/2.322e-05, allocations: 5.266 kB / 273.4 MB, free: 1.074 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.002706/0.002729, allocations: 2.403 MB / 275.8 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005592/0.003289, allocations: 258.9 kB / 276 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.003392, allocations: 7.938 kB / 276 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001304/0.003523, allocations: 51.52 kB / 276.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000141/0.003663, allocations: 87.2 kB / 276.2 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001565/0.00382, allocations: 59.84 kB / 276.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002279/0.004048, allocations: 298.5 kB / 276.5 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.004201, allocations: 76.55 kB / 276.6 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/0.004346, allocations: 167.7 kB / 276.8 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.004467, allocations: 95.69 kB / 276.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.275e-05/0.0045, allocations: 24 kB / 276.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.533e-05/0.004525, allocations: 20 kB / 276.9 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.649e-05/0.004561, allocations: 47.83 kB / 276.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.55e-05/0.004627, allocations: 95.77 kB / 277 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001914/0.004818, allocations: 199.2 kB / 277.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.00482, allocations: 0 / 277.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.004821, allocations: 0 / 277.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.236e-06/0.004824, allocations: 0 / 277.2 MB, free: 13.2 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.0004485/0.005273, allocations: 452.2 kB / 277.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.005303, allocations: 11.98 kB / 277.7 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.84e-05/0.005351, allocations: 40.91 kB / 277.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.005528, allocations: 178 kB / 277.9 MB, free: 12.47 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.005542, allocations: 16.88 kB / 277.9 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.409e-05/0.005576, allocations: 24.38 kB / 277.9 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.005746, allocations: 195 kB / 278.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.005757, allocations: 4.141 kB / 278.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.005771, allocations: 12.38 kB / 278.1 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.005777, allocations: 4.375 kB / 278.1 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.948e-05/0.005867, allocations: 75.88 kB / 278.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005215/0.006388, allocations: 0.5468 MB / 278.8 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002292/0.006617, allocations: 191.6 kB / 279 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.872e-05/0.006716, allocations: 90.66 kB / 279 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.006729, allocations: 8 kB / 279.1 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.006749, allocations: 38.56 kB / 279.1 MB, free: 11.2 MB / 266.7 MB Notification: Performance of pre-optimization done (n=33): time 1.432e-06/0.006751, allocations: 0 / 279.1 MB, free: 11.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.001341/0.008092, allocations: 1.277 MB / 280.4 MB, free: 9.777 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.008137, allocations: 106.8 kB / 280.5 MB, free: 9.648 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.239e-05/0.008219, allocations: 174.5 kB / 280.6 MB, free: 9.465 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.008235, allocations: 29.7 kB / 280.7 MB, free: 9.43 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.321e-05/0.008288, allocations: 136.8 kB / 280.8 MB, free: 9.293 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.761e-05/0.008366, allocations: 170.5 kB / 281 MB, free: 9.125 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-05/0.008426, allocations: 70.17 kB / 281 MB, free: 9.051 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.882e-05/0.008505, allocations: 346.7 kB / 281.4 MB, free: 8.703 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.142e-05/0.008546, allocations: 36.98 kB / 281.4 MB, free: 8.664 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.293e-05/0.008619, allocations: 106.9 kB / 281.5 MB, free: 8.539 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.008763, allocations: 182.2 kB / 281.7 MB, free: 8.344 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.008764, allocations: 0 / 281.7 MB, free: 8.344 MB / 266.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0001822/0.008946, allocations: 205.3 kB / 281.9 MB, free: 8.137 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.008959, allocations: 8.094 kB / 281.9 MB, free: 8.129 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.008964, allocations: 4 kB / 281.9 MB, free: 8.125 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.008976, allocations: 4 kB / 281.9 MB, free: 8.121 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/0.009154, allocations: 95.89 kB / 282 MB, free: 8.027 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.009158, allocations: 0 / 282 MB, free: 8.027 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.938e-05/0.009207, allocations: 8 kB / 282 MB, free: 8.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.00922, allocations: 15.98 kB / 282 MB, free: 8.004 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 7.531e-05/0.009295, allocations: 137.7 kB / 282.2 MB, free: 7.859 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.235e-05/0.009347, allocations: 39.95 kB / 282.2 MB, free: 7.82 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.882e-05/0.009386, allocations: 33.81 kB / 282.2 MB, free: 7.785 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.00939, allocations: 11.98 kB / 282.2 MB, free: 7.773 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.009393, allocations: 0 / 282.2 MB, free: 7.773 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.009398, allocations: 0 / 282.2 MB, free: 7.773 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006208/0.01002, allocations: 0.7303 MB / 283 MB, free: 6.992 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.01002, allocations: 4 kB / 283 MB, free: 6.988 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001854/0.01021, allocations: 88.19 kB / 283.1 MB, free: 6.902 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.01021, allocations: 4 kB / 283.1 MB, free: 6.898 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.01023, allocations: 15.98 kB / 283.1 MB, free: 6.883 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.01023, allocations: 4 kB / 283.1 MB, free: 6.879 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.01023, allocations: 7.938 kB / 283.1 MB, free: 6.871 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003303/0.01056, allocations: 0.5589 MB / 283.7 MB, free: 6.262 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.113e-05/0.01058, allocations: 19.86 kB / 283.7 MB, free: 6.242 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/0.01061, allocations: 15.98 kB / 283.7 MB, free: 6.227 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.01071, allocations: 16 kB / 283.7 MB, free: 6.211 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.741e-05/0.01074, allocations: 31.89 kB / 283.7 MB, free: 6.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.01075, allocations: 12.06 kB / 283.7 MB, free: 6.168 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.631e-05/0.01078, allocations: 41.88 kB / 283.8 MB, free: 6.125 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01078, allocations: 0 / 283.8 MB, free: 6.125 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002495/0.01103, allocations: 72 kB / 283.9 MB, free: 6.055 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 8.568e-05/0.01111, allocations: 96.23 kB / 284 MB, free: 5.949 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001745/0.01129, allocations: 185 kB / 284.1 MB, free: 5.77 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.01129, allocations: 4 kB / 284.1 MB, free: 5.766 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.118e-05/0.01137, allocations: 112.5 kB / 284.2 MB, free: 5.652 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.01172, allocations: 64.08 kB / 284.3 MB, free: 5.59 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007121/0.01243, allocations: 0.6551 MB / 285 MB, free: 4.875 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.585e-05/0.01252, allocations: 97.19 kB / 285.1 MB, free: 4.762 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001044/0.01262, allocations: 34.97 kB / 285.1 MB, free: 4.727 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/0.01278, allocations: 107.3 kB / 285.2 MB, free: 4.621 MB / 266.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01278, allocations: 0 / 285.2 MB, free: 4.621 MB / 266.7 MB Notification: Performance of Templates: time 0.004901/0.01768, allocations: 3.249 MB / 288.5 MB, free: 1.438 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.6788523690775037]