Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestInterpolateTimeVarying.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.001466/0.001466, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 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.001086/0.001086, allocations: 169.1 kB / 24.91 MB, free: 9.191 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9386/0.9386, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2509/0.2509, allocations: 34.27 MB / 296.1 MB, free: 0.7266 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestInterpolateTimeVarying") translateModel(ModelicaTest.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestInterpolateTimeVarying") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 325.2 MB, free: 7.719 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.576e-05/1.698e-05, allocations: 7.078 kB / 325.2 MB, free: 7.711 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.0009455/0.0009625, allocations: 0.5205 MB / 325.8 MB, free: 7.188 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003758/0.001338, allocations: 216 kB / 326 MB, free: 6.977 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.198e-05/0.00136, allocations: 0 / 326 MB, free: 6.977 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001299/0.00149, allocations: 11.98 kB / 326 MB, free: 6.965 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.383e-05/0.001514, allocations: 3.938 kB / 326 MB, free: 6.961 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002455/0.00176, allocations: 51.81 kB / 326 MB, free: 6.91 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.75e-05/0.001817, allocations: 15.98 kB / 326 MB, free: 6.895 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.368e-05/0.001851, allocations: 0 / 326 MB, free: 6.895 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.507e-05/0.001886, allocations: 15.98 kB / 326.1 MB, free: 6.879 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.612e-05/0.001972, allocations: 19.95 kB / 326.1 MB, free: 6.859 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.001985, allocations: 7.938 kB / 326.1 MB, free: 6.852 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.116e-05/0.002066, allocations: 51.89 kB / 326.1 MB, free: 6.801 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.791e-05/0.002094, allocations: 15.98 kB / 326.2 MB, free: 6.785 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.85e-05/0.002112, allocations: 16.55 kB / 326.2 MB, free: 6.77 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001051/0.002217, allocations: 79.75 kB / 326.2 MB, free: 6.691 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.002219, allocations: 0 / 326.2 MB, free: 6.691 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.002219, allocations: 0 / 326.2 MB, free: 6.691 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.125e-06/0.002223, allocations: 0 / 326.2 MB, free: 6.691 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0002662/0.002489, allocations: 250.2 kB / 326.5 MB, free: 6.422 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.69e-05/0.002516, allocations: 12.03 kB / 326.5 MB, free: 6.41 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.472e-05/0.00254, allocations: 4.922 kB / 326.5 MB, free: 6.406 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.364e-05/0.002604, allocations: 109.7 kB / 326.6 MB, free: 6.273 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.884e-06/0.002612, allocations: 384 / 326.6 MB, free: 6.273 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.00263, allocations: 12.38 kB / 326.6 MB, free: 6.262 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.773e-05/0.002718, allocations: 87.34 kB / 326.7 MB, free: 6.164 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.002726, allocations: 192 / 326.7 MB, free: 6.164 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.633e-06/0.002732, allocations: 384 / 326.7 MB, free: 6.164 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.248e-05/0.002755, allocations: 12.38 kB / 326.7 MB, free: 6.152 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.677e-05/0.002791, allocations: 34.58 kB / 326.8 MB, free: 6.121 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001469/0.002938, allocations: 86.58 kB / 326.8 MB, free: 6.02 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.003057, allocations: 61.38 kB / 326.9 MB, free: 5.949 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.526e-05/0.003083, allocations: 24.84 kB / 326.9 MB, free: 5.922 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/0.003111, allocations: 8 kB / 326.9 MB, free: 5.914 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/0.003129, allocations: 46.5 kB / 327 MB, free: 5.859 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 6.91e-07/0.00313, allocations: 0 / 327 MB, free: 5.859 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.001637/0.004767, allocations: 1.373 MB / 328.4 MB, free: 4.426 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.492e-05/0.004791, allocations: 59.62 kB / 328.4 MB, free: 4.355 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.504e-05/0.004836, allocations: 94.72 kB / 328.5 MB, free: 4.25 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.004856, allocations: 33.7 kB / 328.5 MB, free: 4.211 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.764e-05/0.004873, allocations: 84.77 kB / 328.6 MB, free: 4.125 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.754e-05/0.004931, allocations: 103.1 kB / 328.7 MB, free: 4.023 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-05/0.004992, allocations: 53.67 kB / 328.8 MB, free: 3.965 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.458e-05/0.005057, allocations: 326.8 kB / 329.1 MB, free: 3.637 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.005164, allocations: 150.8 kB / 329.2 MB, free: 3.488 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.971e-05/0.005264, allocations: 152 kB / 329.4 MB, free: 3.34 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002215/0.005485, allocations: 339.4 kB / 329.7 MB, free: 3.004 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.005486, allocations: 4 kB / 329.7 MB, free: 3 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002542/0.00574, allocations: 385.5 kB / 330.1 MB, free: 2.617 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.005751, allocations: 6.5 kB / 330.1 MB, free: 2.613 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002093/0.00596, allocations: 320.4 kB / 330.4 MB, free: 2.301 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.886e-06/0.005969, allocations: 0 / 330.4 MB, free: 2.301 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.006089, allocations: 59.89 kB / 330.5 MB, free: 2.242 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.006093, allocations: 0 / 330.5 MB, free: 2.242 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.32e-05/0.006126, allocations: 15.92 kB / 330.5 MB, free: 2.227 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-05/0.006159, allocations: 31.98 kB / 330.5 MB, free: 2.195 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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 6.979e-05/0.006229, allocations: 132.5 kB / 330.7 MB, free: 2.055 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.006254, allocations: 15.94 kB / 330.7 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004538/0.006708, allocations: 475.2 kB / 331.1 MB, free: 1.57 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.006714, allocations: 8 kB / 331.1 MB, free: 1.562 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.006716, allocations: 4 kB / 331.1 MB, free: 1.559 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.00672, allocations: 0 / 331.1 MB, free: 1.559 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005623/0.007282, allocations: 0.6841 MB / 331.8 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002049/0.007487, allocations: 293.6 kB / 332.1 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.52e-05/0.007582, allocations: 47.91 kB / 332.2 MB, free: 496 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.007585, allocations: 4 kB / 332.2 MB, free: 492 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.0076, allocations: 12 kB / 332.2 MB, free: 480 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.007603, allocations: 4 kB / 332.2 MB, free: 476 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.007606, allocations: 3.938 kB / 332.2 MB, free: 472 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00043/0.008036, allocations: 0.641 MB / 332.8 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.358e-05/0.008049, allocations: 19.94 kB / 332.8 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/0.008073, allocations: 12 kB / 332.9 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.273e-05/0.008135, allocations: 4 kB / 332.9 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.79e-05/0.008173, allocations: 43.81 kB / 332.9 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-05/0.008202, allocations: 32 kB / 332.9 MB, free: 15.67 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.825e-06/0.008209, allocations: 8.859 kB / 332.9 MB, free: 15.66 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.00821, allocations: 0 / 332.9 MB, free: 15.66 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001979/0.008407, allocations: 79.86 kB / 333 MB, free: 15.58 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 1 (xIntegrated) * Number of discrete variables: 2 ($cse14,i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * 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.0001406/0.008548, allocations: 144.4 kB / 333.2 MB, free: 15.43 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002706/0.008819, allocations: 357.8 kB / 333.5 MB, free: 15.08 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.008821, allocations: 0 / 333.5 MB, free: 15.08 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002961/0.009117, allocations: 0.5404 MB / 334.1 MB, free: 14.45 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001408/0.009258, allocations: 30.09 kB / 334.1 MB, free: 14.43 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001784/0.01104, allocations: 1.183 MB / 335.3 MB, free: 13.2 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.726e-05/0.0111, allocations: 84.48 kB / 335.3 MB, free: 13.1 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001047/0.0112, allocations: 45.64 kB / 335.4 MB, free: 13.05 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004322/0.01164, allocations: 159.2 kB / 335.5 MB, free: 12.89 MB / 314.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01164, allocations: 0 / 335.5 MB, free: 12.89 MB / 314.7 MB Notification: Performance of Templates: time 0.004432/0.01607, allocations: 3.639 MB / 339.2 MB, free: 9.309 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestInterpolateTimeVarying.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestInterpolateTimeVarying.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestInterpolateTimeVarying.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestInterpolateTimeVarying.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestInterpolateTimeVarying.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestInterpolateTimeVarying -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestInterpolateTimeVarying.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestInterpolateTimeVarying_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestInterpolateTimeVarying/TestInterpolateTimeVarying.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.9433498680591583]