Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.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.001153/0.001153, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001529/0.002682, allocations: 457.8 kB / 10.45 MB, free: 244 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.001013/0.001013, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001294/0.002307, allocations: 475.6 kB / 11.82 MB, free: 2.348 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 1.011/1.011, allocations: 177.5 MB / 190 MB, free: 4.812 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1011/1.112, allocations: 53.87 MB / 243.9 MB, free: 14.87 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.252/0.252, allocations: 34.88 MB / 279.5 MB, free: 14.93 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02316/0.2752, allocations: 13.24 MB / 292.8 MB, free: 6.414 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|damper.s_rel|elastoGap.s_rel|elastoGap.v_rel|position.s|position.v|position1.s|position1.v|position2.s|position2.v|relativeStates.s_rel|relativeStates.v_rel|slidingMass.s|slidingMass.v|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Translational.AllComponents") translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|damper.s_rel|elastoGap.s_rel|elastoGap.v_rel|position.s|position.v|position1.s|position1.v|position2.s|position2.v|relativeStates.s_rel|relativeStates.v_rel|slidingMass.s|slidingMass.v|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Translational.AllComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 294.1 MB, free: 5.141 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.936e-05/2.06e-05, allocations: 2.969 kB / 294.1 MB, free: 5.137 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.004395/0.004416, allocations: 4.109 MB / 298.2 MB, free: 1.004 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00191/0.006326, allocations: 1.204 MB / 299.4 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002864/0.006612, allocations: 23.81 kB / 299.4 MB, free: 15.77 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001761/0.006788, allocations: 102.8 kB / 299.5 MB, free: 15.67 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000381/0.007169, allocations: 221.9 kB / 299.7 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005691/0.007738, allocations: 235.4 kB / 300 MB, free: 15.22 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007725/0.008511, allocations: 0.8254 MB / 300.8 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002637/0.008775, allocations: 166 kB / 300.9 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006299/0.009405, allocations: 0.5195 MB / 301.5 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003017/0.009706, allocations: 259.2 kB / 301.7 MB, free: 13.45 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.507e-05/0.009781, allocations: 64 kB / 301.8 MB, free: 13.39 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001605/0.009942, allocations: 91.97 kB / 301.9 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.642e-05/0.01002, allocations: 111.6 kB / 302 MB, free: 13.19 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001855/0.0102, allocations: 199.6 kB / 302.2 MB, free: 13 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006761/0.01088, allocations: 0.5019 MB / 302.7 MB, free: 12.49 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.538e-05/0.0109, allocations: 0 / 302.7 MB, free: 12.49 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.0109, allocations: 0 / 302.7 MB, free: 12.49 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.682e-05/0.01093, allocations: 0 / 302.7 MB, free: 12.49 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.001394/0.01233, allocations: 1.069 MB / 303.7 MB, free: 11.4 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.01236, allocations: 15.44 kB / 303.8 MB, free: 11.39 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003838/0.01274, allocations: 233.9 kB / 304 MB, free: 11.14 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003804/0.01312, allocations: 323.5 kB / 304.3 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.493e-05/0.01316, allocations: 45.69 kB / 304.3 MB, free: 10.75 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.383e-05/0.01323, allocations: 68.27 kB / 304.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005005/0.01373, allocations: 471.4 kB / 304.9 MB, free: 10.2 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.601e-05/0.01376, allocations: 16.11 kB / 304.9 MB, free: 10.18 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.012e-05/0.01379, allocations: 27.88 kB / 304.9 MB, free: 10.15 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.0138, allocations: 16 kB / 304.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002896/0.01409, allocations: 205.5 kB / 305.1 MB, free: 9.938 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001534/0.01562, allocations: 1.594 MB / 306.7 MB, free: 8.266 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005083/0.01613, allocations: 438 kB / 307.2 MB, free: 7.77 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/0.01629, allocations: 163.4 kB / 307.3 MB, free: 7.59 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.129e-05/0.01637, allocations: 20.48 kB / 307.3 MB, free: 7.566 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/0.01641, allocations: 51 kB / 307.4 MB, free: 7.508 MB / 298.7 MB Notification: Performance of pre-optimization done (n=83): time 3.787e-06/0.01642, allocations: 0 / 307.4 MB, free: 7.508 MB / 298.7 MB Notification: Performance of matching and sorting (n=116): time 0.003421/0.01984, allocations: 2.804 MB / 310.2 MB, free: 4.523 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.164e-05/0.01991, allocations: 226.2 kB / 310.4 MB, free: 4.254 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002112/0.02012, allocations: 359.2 kB / 310.8 MB, free: 3.887 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.71e-05/0.02016, allocations: 45.7 kB / 310.8 MB, free: 3.836 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.093e-05/0.02025, allocations: 238.5 kB / 311 MB, free: 3.598 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001973/0.02044, allocations: 432.2 kB / 311.5 MB, free: 3.172 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001499/0.02059, allocations: 186.8 kB / 311.6 MB, free: 2.984 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.0207, allocations: 394.5 kB / 312 MB, free: 2.59 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.02083, allocations: 94.58 kB / 312.1 MB, free: 2.496 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.02103, allocations: 312.4 kB / 312.4 MB, free: 2.125 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004071/0.02144, allocations: 0.5137 MB / 312.9 MB, free: 1.543 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.02144, allocations: 0 / 312.9 MB, free: 1.543 MB / 298.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.0005095/0.02195, allocations: 0.5124 MB / 313.4 MB, free: 1.02 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.02197, allocations: 8 kB / 313.5 MB, free: 1.012 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/0.02198, allocations: 4 kB / 313.5 MB, free: 1.008 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.022, allocations: 12 kB / 313.5 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006241/0.02262, allocations: 337.4 kB / 313.8 MB, free: 0.668 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.02263, allocations: 19.92 kB / 313.8 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001851/0.02282, allocations: 39.98 kB / 313.9 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.773e-05/0.02286, allocations: 29.48 kB / 313.9 MB, free: 0.582 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * Single equations (assignments): 145 * 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.000148/0.023, allocations: 176.4 kB / 314.1 MB, free: 408 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.02313, allocations: 87.92 kB / 314.1 MB, free: 320 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001773/0.02331, allocations: 167 kB / 314.3 MB, free: 144 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/0.02332, allocations: 12 kB / 314.3 MB, free: 132 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.02332, allocations: 0 / 314.3 MB, free: 132 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/0.02333, allocations: 11.97 kB / 314.3 MB, free: 120 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001498/0.02483, allocations: 1.422 MB / 315.8 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.02484, allocations: 4 kB / 315.8 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006002/0.02544, allocations: 310.7 kB / 316.1 MB, free: 14.33 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001452/0.02558, allocations: 75.52 kB / 316.1 MB, free: 14.26 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.688e-06/0.02559, allocations: 12.22 kB / 316.1 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.083e-05/0.02562, allocations: 32 kB / 316.2 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.947e-06/0.02563, allocations: 15.92 kB / 316.2 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.02563, allocations: 4 kB / 316.2 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007841/0.02642, allocations: 1.221 MB / 317.4 MB, free: 12.94 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.061e-05/0.02647, allocations: 24 kB / 317.4 MB, free: 12.92 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002649/0.02673, allocations: 35.86 kB / 317.5 MB, free: 12.88 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.461e-05/0.02683, allocations: 88.5 kB / 317.6 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-05/0.02686, allocations: 28 kB / 317.6 MB, free: 12.77 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.901e-05/0.02696, allocations: 148.6 kB / 317.7 MB, free: 12.62 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.02696, allocations: 0 / 317.7 MB, free: 12.62 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004923/0.02745, allocations: 196 kB / 317.9 MB, free: 12.43 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 15 (slidingMass.s,slidingMass.v,damper.s_rel,springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,relativeStates.s_rel,relativeStates.v_rel,position2.s,position2.v,position1.s,position1.v,position.s,position.v) * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 116 * 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.0001338/0.02758, allocations: 124.6 kB / 318 MB, free: 12.3 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004591/0.02804, allocations: 489.8 kB / 318.5 MB, free: 11.82 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.592e-05/0.02807, allocations: 14.62 kB / 318.5 MB, free: 11.8 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003103/0.02838, allocations: 340.1 kB / 318.9 MB, free: 11.48 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/0.02954, allocations: 1.203 MB / 320.1 MB, free: 10.05 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002961/0.0325, allocations: 1.515 MB / 321.6 MB, free: 8.453 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000135/0.03264, allocations: 177.3 kB / 321.8 MB, free: 8.262 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002508/0.03289, allocations: 98.09 kB / 321.9 MB, free: 8.164 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002762/0.03316, allocations: 205.2 kB / 322.1 MB, free: 7.965 MB / 314.7 MB Notification: Performance of SimCode: time 1.162e-06/0.03316, allocations: 0 / 322.1 MB, free: 7.965 MB / 314.7 MB Notification: Performance of Templates: time 0.01106/0.04422, allocations: 8.062 MB / 330.1 MB, free: 76 kB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Translational/AllComponents/AllComponents.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8848215425387025]