Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0008089/0.0008089, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001134/0.001943, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.00109/0.00109, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001334/0.002424, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9601/0.9601, allocations: 158.6 MB / 171.1 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1987/1.159, allocations: 49.49 MB / 220.5 MB, free: 1.449 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.Damper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 221.8 MB, free: 180 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.561e-05/2.714e-05, allocations: 5.406 kB / 221.8 MB, free: 176 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003054/0.003082, allocations: 2.414 MB / 224.3 MB, free: 13.74 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005518/0.003633, allocations: 254.9 kB / 224.5 MB, free: 13.49 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.003747, allocations: 7.938 kB / 224.5 MB, free: 13.48 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 9.351e-05/0.003841, allocations: 43.56 kB / 224.6 MB, free: 13.44 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000139/0.00398, allocations: 87.22 kB / 224.6 MB, free: 13.35 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001086/0.004088, allocations: 59.84 kB / 224.7 MB, free: 13.29 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002379/0.004326, allocations: 302.5 kB / 225 MB, free: 13 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002055/0.004531, allocations: 79.88 kB / 225.1 MB, free: 12.92 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005119/0.005043, allocations: 183.6 kB / 225.2 MB, free: 12.74 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000149/0.005192, allocations: 83.77 kB / 225.3 MB, free: 12.66 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.542e-05/0.005228, allocations: 24 kB / 225.4 MB, free: 12.64 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.682e-05/0.005255, allocations: 20 kB / 225.4 MB, free: 12.62 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.2e-05/0.005287, allocations: 43.81 kB / 225.4 MB, free: 12.57 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.519e-05/0.005352, allocations: 75.88 kB / 225.5 MB, free: 12.5 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.005549, allocations: 183.3 kB / 225.7 MB, free: 12.32 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.516e-05/0.005564, allocations: 0 / 225.7 MB, free: 12.32 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.005565, allocations: 0 / 225.7 MB, free: 12.32 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.549e-05/0.00558, allocations: 0 / 225.7 MB, free: 12.32 MB / 234.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.0005934/0.006174, allocations: 0.4959 MB / 226.2 MB, free: 11.8 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.006206, allocations: 8.031 kB / 226.2 MB, free: 11.79 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.381e-05/0.00626, allocations: 44.91 kB / 226.2 MB, free: 11.75 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/0.006443, allocations: 174 kB / 226.4 MB, free: 11.55 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.006457, allocations: 16.88 kB / 226.4 MB, free: 11.53 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.691e-05/0.006493, allocations: 32.34 kB / 226.4 MB, free: 11.5 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.006678, allocations: 183.2 kB / 226.6 MB, free: 11.3 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.006693, allocations: 4.141 kB / 226.6 MB, free: 11.3 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.006708, allocations: 12.38 kB / 226.6 MB, free: 11.29 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.006715, allocations: 4.375 kB / 226.6 MB, free: 11.29 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000148/0.006863, allocations: 83.77 kB / 226.7 MB, free: 11.2 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000562/0.007425, allocations: 0.5621 MB / 227.3 MB, free: 10.62 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/0.007653, allocations: 195.7 kB / 227.5 MB, free: 10.4 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.156e-05/0.007745, allocations: 82.53 kB / 227.5 MB, free: 10.31 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.215e-05/0.007757, allocations: 4 kB / 227.6 MB, free: 10.3 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.885e-05/0.007806, allocations: 42.5 kB / 227.6 MB, free: 10.25 MB / 234.7 MB Notification: Performance of pre-optimization done (n=33): time 1.423e-06/0.007807, allocations: 0 / 227.6 MB, free: 10.25 MB / 234.7 MB Notification: Performance of matching and sorting (n=45): time 0.001457/0.009264, allocations: 1.273 MB / 228.9 MB, free: 8.832 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.012e-05/0.009324, allocations: 114.9 kB / 229 MB, free: 8.695 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.345e-05/0.009408, allocations: 163.4 kB / 229.1 MB, free: 8.523 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.009424, allocations: 33.7 kB / 229.2 MB, free: 8.484 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.732e-05/0.009482, allocations: 132.8 kB / 229.3 MB, free: 8.352 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.581e-05/0.009567, allocations: 166.5 kB / 229.5 MB, free: 8.188 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.251e-05/0.00963, allocations: 78.14 kB / 229.5 MB, free: 8.105 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.009747, allocations: 342.7 kB / 229.9 MB, free: 7.762 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.341e-05/0.00979, allocations: 32.98 kB / 229.9 MB, free: 7.73 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.009906, allocations: 110.8 kB / 230 MB, free: 7.598 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.01004, allocations: 184.3 kB / 230.2 MB, free: 7.398 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.01004, allocations: 4 kB / 230.2 MB, free: 7.395 MB / 234.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0001748/0.01022, allocations: 205.3 kB / 230.4 MB, free: 7.188 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.01023, allocations: 4 kB / 230.4 MB, free: 7.184 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.01024, allocations: 4 kB / 230.4 MB, free: 7.18 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.01025, allocations: 4 kB / 230.4 MB, free: 7.176 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002302/0.01048, allocations: 115.8 kB / 230.5 MB, free: 7.062 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.01049, allocations: 11.92 kB / 230.5 MB, free: 7.051 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.891e-05/0.01054, allocations: 12.09 kB / 230.5 MB, free: 7.039 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.01055, allocations: 12 kB / 230.6 MB, free: 7.027 MB / 234.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.558e-05/0.01062, allocations: 129.7 kB / 230.7 MB, free: 6.891 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.724e-05/0.01067, allocations: 35.97 kB / 230.7 MB, free: 6.855 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.715e-05/0.01072, allocations: 33.81 kB / 230.8 MB, free: 6.824 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.01072, allocations: 4 kB / 230.8 MB, free: 6.82 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.01073, allocations: 4 kB / 230.8 MB, free: 6.816 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.01073, allocations: 7.922 kB / 230.8 MB, free: 6.809 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007308/0.01146, allocations: 0.7189 MB / 231.5 MB, free: 6.035 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.01147, allocations: 0 / 231.5 MB, free: 6.035 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000231/0.0117, allocations: 119.9 kB / 231.6 MB, free: 5.918 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.382e-05/0.01172, allocations: 27.75 kB / 231.6 MB, free: 5.891 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.01172, allocations: 4.281 kB / 231.6 MB, free: 5.887 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.01174, allocations: 16 kB / 231.7 MB, free: 5.871 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.01174, allocations: 7.938 kB / 231.7 MB, free: 5.863 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.01175, allocations: 4 kB / 231.7 MB, free: 5.859 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003271/0.01208, allocations: 0.5569 MB / 232.2 MB, free: 5.258 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/0.0121, allocations: 8 kB / 232.2 MB, free: 5.25 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.994e-05/0.0122, allocations: 12 kB / 232.2 MB, free: 5.238 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.052e-05/0.01223, allocations: 35.83 kB / 232.3 MB, free: 5.203 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.01224, allocations: 12.06 kB / 232.3 MB, free: 5.191 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.032e-05/0.01227, allocations: 53.06 kB / 232.3 MB, free: 5.137 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01227, allocations: 0 / 232.3 MB, free: 5.137 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002207/0.01249, allocations: 68 kB / 232.4 MB, free: 5.07 MB / 234.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.215e-05/0.01257, allocations: 102.4 kB / 232.5 MB, free: 4.961 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.000336/0.01291, allocations: 176.8 kB / 232.7 MB, free: 4.789 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 9.778e-06/0.01292, allocations: 4 kB / 232.7 MB, free: 4.785 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 8.382e-05/0.013, allocations: 120.8 kB / 232.8 MB, free: 4.664 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.01336, allocations: 99.28 kB / 232.9 MB, free: 4.57 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.01457, allocations: 0.643 MB / 233.5 MB, free: 3.863 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.32e-05/0.01463, allocations: 93.28 kB / 233.6 MB, free: 3.754 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 7.247e-05/0.0147, allocations: 34.97 kB / 233.7 MB, free: 3.723 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.01482, allocations: 111.3 kB / 233.8 MB, free: 3.613 MB / 234.7 MB Notification: Performance of SimCode: time 8.41e-07/0.01483, allocations: 0 / 233.8 MB, free: 3.613 MB / 234.7 MB Notification: Performance of Templates: time 0.004892/0.01972, allocations: 3.466 MB / 237.2 MB, free: 176 kB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.633597050793469]