Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.002017/0.002017, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.002736/0.002736, allocations: 169.3 kB / 24.27 MB, free: 144 kB / 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 1.516/1.516, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.3478/0.3478, allocations: 34.26 MB / 295.3 MB, free: 0.668 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.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 377.3 MB, free: 2.949 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.701e-05/2.891e-05, allocations: 2.312 kB / 377.3 MB, free: 2.945 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.004189/0.004217, allocations: 1.619 MB / 378.9 MB, free: 1.312 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001682/0.005899, allocations: 0.5452 MB / 379.5 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.63e-05/0.005965, allocations: 4 kB / 379.5 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009124/0.006878, allocations: 455.1 kB / 379.9 MB, free: 320 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007817/0.00766, allocations: 287.2 kB / 380.2 MB, free: 32 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000865/0.008525, allocations: 175.5 kB / 380.4 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003765/0.008901, allocations: 167.7 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.009026, allocations: 11.92 kB / 380.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002361/0.009262, allocations: 115.8 kB / 380.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004374/0.009699, allocations: 243.6 kB / 380.9 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.871e-05/0.009728, allocations: 4 kB / 380.9 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.009834, allocations: 23.98 kB / 380.9 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001599/0.009994, allocations: 83.64 kB / 381 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.321e-05/0.01008, allocations: 35.75 kB / 381 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004987/0.01058, allocations: 231.1 kB / 381.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.01058, allocations: 0 / 381.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.01058, allocations: 0 / 381.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.01059, allocations: 0 / 381.2 MB, free: 14.96 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000972/0.01156, allocations: 0.5737 MB / 381.8 MB, free: 14.36 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.01159, allocations: 8.031 kB / 381.8 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001129/0.01171, allocations: 44.66 kB / 381.9 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004615/0.01217, allocations: 250 kB / 382.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.01218, allocations: 384 / 382.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.01219, allocations: 4.375 kB / 382.1 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/0.01239, allocations: 50.25 kB / 382.2 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.0124, allocations: 192 / 382.2 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.01242, allocations: 4.125 kB / 382.2 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.01242, allocations: 0 / 382.2 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001521/0.01258, allocations: 35.91 kB / 382.2 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007179/0.01329, allocations: 320.5 kB / 382.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.0134, allocations: 30.56 kB / 382.6 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.723e-05/0.01348, allocations: 20.86 kB / 382.6 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.01351, allocations: 0 / 382.6 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.387e-05/0.01355, allocations: 30.56 kB / 382.6 MB, free: 13.49 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.303e-06/0.01355, allocations: 3.938 kB / 382.6 MB, free: 13.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0004857/0.01404, allocations: 105.5 kB / 382.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.562e-05/0.01411, allocations: 55.39 kB / 382.8 MB, free: 13.31 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001664/0.01577, allocations: 0.8614 MB / 383.6 MB, free: 12.44 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/0.0158, allocations: 25.7 kB / 383.7 MB, free: 12.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003341/0.01613, allocations: 220 kB / 383.9 MB, free: 12.19 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.565e-05/0.01617, allocations: 11.88 kB / 383.9 MB, free: 12.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.391e-05/0.01623, allocations: 13.72 kB / 383.9 MB, free: 12.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003313/0.01656, allocations: 358.8 kB / 384.2 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.128e-05/0.01666, allocations: 11.98 kB / 384.3 MB, free: 11.79 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.585e-05/0.01673, allocations: 11.98 kB / 384.3 MB, free: 11.78 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.01689, allocations: 36.88 kB / 384.3 MB, free: 11.74 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.01689, allocations: 0 / 384.3 MB, free: 11.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003054/0.0172, allocations: 93.34 kB / 384.4 MB, free: 11.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.01722, allocations: 6.031 kB / 384.4 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.01723, allocations: 4 kB / 384.4 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.402e-05/0.01725, allocations: 0 / 384.4 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.01736, allocations: 11.98 kB / 384.4 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.01737, allocations: 0 / 384.4 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.004e-05/0.01744, allocations: 4.031 kB / 384.4 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.01746, allocations: 4 kB / 384.4 MB, free: 11.61 MB / 362.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0003578/0.01781, allocations: 213.8 kB / 384.6 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.01792, allocations: 43.66 kB / 384.7 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003409/0.01827, allocations: 112.6 kB / 384.8 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.01827, allocations: 0 / 384.8 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.01828, allocations: 3.984 kB / 384.8 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.01828, allocations: 0 / 384.8 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004738/0.01875, allocations: 229.2 kB / 385 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.01876, allocations: 8.031 kB / 385 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.663e-05/0.01881, allocations: 4 kB / 385 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.01882, allocations: 3.938 kB / 385 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.01883, allocations: 3.984 kB / 385 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.01883, allocations: 0 / 385 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.01884, allocations: 0 / 385 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003536/0.01919, allocations: 191.2 kB / 385.2 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.981e-05/0.01927, allocations: 39.66 kB / 385.3 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.078e-05/0.0193, allocations: 0 / 385.3 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.01944, allocations: 8.016 kB / 385.3 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.979e-05/0.01946, allocations: 4 kB / 385.3 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.01946, allocations: 0 / 385.3 MB, free: 10.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001179/0.02064, allocations: 0.6511 MB / 385.9 MB, free: 10.05 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.02064, allocations: 0 / 385.9 MB, free: 10.05 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004544/0.02109, allocations: 16 kB / 385.9 MB, free: 10.04 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 2 * 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.002427/0.02352, allocations: 373 kB / 386.3 MB, free: 9.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002338/0.02376, allocations: 31.91 kB / 386.3 MB, free: 9.789 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.02376, allocations: 0 / 386.3 MB, free: 9.789 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.945e-05/0.02384, allocations: 15.94 kB / 386.3 MB, free: 9.773 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006612/0.0245, allocations: 29.61 kB / 386.4 MB, free: 9.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/0.02642, allocations: 0.8017 MB / 387.2 MB, free: 8.922 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004064/0.02683, allocations: 224.1 kB / 387.4 MB, free: 8.684 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.338e-05/0.0269, allocations: 15.88 kB / 387.4 MB, free: 8.668 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.81e-05/0.02696, allocations: 12.5 kB / 387.4 MB, free: 8.652 MB / 362.7 MB Notification: Performance of SimCode: time 7.32e-07/0.02696, allocations: 0 / 387.4 MB, free: 8.652 MB / 362.7 MB Notification: Performance of Templates: time 0.007269/0.03423, allocations: 1.121 MB / 388.5 MB, free: 7.539 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.854539746069349]