Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.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.001145/0.001145, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001889/0.003034, allocations: 447.8 kB / 10.35 MB, free: 348 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.001009/0.001009, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001215/0.002224, allocations: 463.6 kB / 11.69 MB, free: 2.48 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 1.027/1.027, allocations: 158.6 MB / 171 MB, free: 2.188 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.184/1.211, allocations: 49.49 MB / 220.5 MB, free: 5.281 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1578/0.1578, allocations: 32.34 MB / 253.6 MB, free: 4.168 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02412/0.1819, allocations: 12.29 MB / 265.9 MB, free: 7.836 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(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_3.2.3_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_3.2.3_ModelicaTest.Translational.AllComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 267.2 MB, free: 6.562 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.401e-05/2.622e-05, allocations: 6.25 kB / 267.2 MB, free: 6.555 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.004372/0.004398, allocations: 4.016 MB / 271.2 MB, free: 2.508 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001899/0.006296, allocations: 1.153 MB / 272.4 MB, free: 1.344 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002727/0.006569, allocations: 15.88 kB / 272.4 MB, free: 1.328 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002096/0.006779, allocations: 103 kB / 272.5 MB, free: 1.227 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003602/0.007139, allocations: 218 kB / 272.7 MB, free: 1.012 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003866/0.007525, allocations: 187.5 kB / 272.9 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000604/0.008129, allocations: 0.8131 MB / 273.7 MB, free: 12 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002491/0.008379, allocations: 158 kB / 273.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004609/0.008839, allocations: 0.5117 MB / 274.4 MB, free: 15.34 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002418/0.009081, allocations: 263.2 kB / 274.6 MB, free: 15.09 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.352e-05/0.009145, allocations: 56 kB / 274.7 MB, free: 15.03 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001502/0.009295, allocations: 83.98 kB / 274.7 MB, free: 14.95 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.341e-05/0.009388, allocations: 111.5 kB / 274.9 MB, free: 14.84 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001716/0.00956, allocations: 199.6 kB / 275.1 MB, free: 14.64 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004838/0.01004, allocations: 0.4903 MB / 275.5 MB, free: 14.15 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.647e-05/0.01006, allocations: 0 / 275.5 MB, free: 14.15 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.01006, allocations: 4 kB / 275.5 MB, free: 14.15 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.818e-05/0.01008, allocations: 0 / 275.5 MB, free: 14.15 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001076/0.01116, allocations: 1.037 MB / 276.6 MB, free: 13.08 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.01119, allocations: 12.03 kB / 276.6 MB, free: 13.07 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.783e-05/0.01129, allocations: 96.86 kB / 276.7 MB, free: 12.98 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003089/0.01159, allocations: 291.6 kB / 277 MB, free: 12.66 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.387e-05/0.01163, allocations: 41.69 kB / 277 MB, free: 12.62 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.757e-05/0.0117, allocations: 72.3 kB / 277.1 MB, free: 12.55 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005119/0.01221, allocations: 0.5389 MB / 277.6 MB, free: 11.97 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.275e-05/0.01223, allocations: 8.141 kB / 277.6 MB, free: 11.96 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.984e-05/0.01226, allocations: 28.31 kB / 277.7 MB, free: 11.93 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.01227, allocations: 19.94 kB / 277.7 MB, free: 11.91 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002661/0.01254, allocations: 195.1 kB / 277.9 MB, free: 11.72 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001411/0.01395, allocations: 1.6 MB / 279.5 MB, free: 10.04 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004546/0.0144, allocations: 437.4 kB / 279.9 MB, free: 9.551 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001438/0.01455, allocations: 159.4 kB / 280.1 MB, free: 9.371 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.977e-05/0.01463, allocations: 28.61 kB / 280.1 MB, free: 9.344 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.01466, allocations: 47 kB / 280.1 MB, free: 9.289 MB / 282.7 MB Notification: Performance of pre-optimization done (n=82): time 1.944e-06/0.01466, allocations: 0 / 280.1 MB, free: 9.289 MB / 282.7 MB Notification: Performance of matching and sorting (n=115): time 0.003218/0.01788, allocations: 2.752 MB / 282.9 MB, free: 6.348 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.786e-05/0.01796, allocations: 222.3 kB / 283.1 MB, free: 6.078 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.01814, allocations: 339.2 kB / 283.4 MB, free: 5.738 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.391e-05/0.01817, allocations: 49.7 kB / 283.5 MB, free: 5.684 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.871e-05/0.01827, allocations: 230.4 kB / 283.7 MB, free: 5.449 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001791/0.01845, allocations: 428.3 kB / 284.1 MB, free: 5.027 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/0.01859, allocations: 186.8 kB / 284.3 MB, free: 4.836 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.0187, allocations: 390.5 kB / 284.7 MB, free: 4.445 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.01882, allocations: 102.6 kB / 284.8 MB, free: 4.348 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002201/0.01904, allocations: 304.4 kB / 285.1 MB, free: 3.98 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000396/0.01943, allocations: 0.4993 MB / 285.6 MB, free: 3.414 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.01944, allocations: 4 kB / 285.6 MB, free: 3.41 MB / 282.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.0004726/0.01991, allocations: 0.5132 MB / 286.1 MB, free: 2.891 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.01993, allocations: 8 kB / 286.1 MB, free: 2.883 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.01994, allocations: 4 kB / 286.1 MB, free: 2.879 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.01995, allocations: 12 kB / 286.1 MB, free: 2.867 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006363/0.02059, allocations: 347.8 kB / 286.5 MB, free: 2.527 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.0206, allocations: 16.41 kB / 286.5 MB, free: 2.512 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.02077, allocations: 35.98 kB / 286.5 MB, free: 2.477 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.909e-05/0.02081, allocations: 32 kB / 286.5 MB, free: 2.445 MB / 282.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 (144): * Single equations (assignments): 144 * 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.0001499/0.02096, allocations: 180.3 kB / 286.7 MB, free: 2.258 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.02108, allocations: 83.94 kB / 286.8 MB, free: 2.176 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001705/0.02126, allocations: 150.8 kB / 286.9 MB, free: 2.023 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.086e-06/0.02126, allocations: 19.94 kB / 287 MB, free: 2.004 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.02127, allocations: 4 kB / 287 MB, free: 2 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.876e-06/0.02128, allocations: 7.969 kB / 287 MB, free: 1.992 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001433/0.02271, allocations: 1.42 MB / 288.4 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.02272, allocations: 4 kB / 288.4 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006001/0.02332, allocations: 299.7 kB / 288.7 MB, free: 220 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.02344, allocations: 75.52 kB / 288.8 MB, free: 144 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.196e-06/0.02345, allocations: 19.86 kB / 288.8 MB, free: 124 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.135e-05/0.02348, allocations: 28.09 kB / 288.8 MB, free: 96 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.02349, allocations: 12 kB / 288.8 MB, free: 84 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.02349, allocations: 7.984 kB / 288.8 MB, free: 76 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007907/0.02428, allocations: 1.221 MB / 290.1 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.119e-05/0.02433, allocations: 24 kB / 290.1 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002739/0.02461, allocations: 35.98 kB / 290.1 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.87e-05/0.0247, allocations: 80.45 kB / 290.2 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.014e-05/0.02473, allocations: 31.98 kB / 290.2 MB, free: 14.64 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001055/0.02483, allocations: 140.7 kB / 290.4 MB, free: 14.5 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.02483, allocations: 3.938 kB / 290.4 MB, free: 14.49 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005043/0.02534, allocations: 192 kB / 290.6 MB, free: 14.3 MB / 298.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 (115): * Single equations (assignments): 115 * 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.0001668/0.0255, allocations: 120.1 kB / 290.7 MB, free: 14.18 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005113/0.02601, allocations: 475.8 kB / 291.1 MB, free: 13.72 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-05/0.02604, allocations: 22.61 kB / 291.2 MB, free: 13.7 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002373/0.02628, allocations: 270.2 kB / 291.4 MB, free: 13.43 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007242/0.027, allocations: 204 kB / 291.6 MB, free: 13.23 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00298/0.02998, allocations: 1.485 MB / 293.1 MB, free: 11.67 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001571/0.03014, allocations: 173.2 kB / 293.3 MB, free: 11.48 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002655/0.0304, allocations: 85.92 kB / 293.4 MB, free: 11.39 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002873/0.03069, allocations: 197.3 kB / 293.6 MB, free: 11.2 MB / 298.7 MB Notification: Performance of SimCode: time 1.212e-06/0.03069, allocations: 0 / 293.6 MB, free: 11.2 MB / 298.7 MB Notification: Performance of Templates: time 0.0107/0.04139, allocations: 8.13 MB / 301.7 MB, free: 3.051 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Translational/AllComponents/AllComponents.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: 3.0450809951871634]