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.001627/0.001627, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 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.001904/0.001904, allocations: 205.6 kB / 23.73 MB, free: 4.379 MB / 14.72 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.486/1.486, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 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.2285/0.2285, allocations: 46.95 MB / 360.9 MB, free: 4.047 MB / 286.1 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 0.002009/0.002009, allocations: 63.89 kB / 0.4966 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4148/0.4168, allocations: 66.04 MB / 0.5611 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.003364/0.4201, allocations: 1.602 MB / 0.5627 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.4213, allocations: 0.5417 MB / 0.5632 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.914e-05/0.4214, allocations: 0 / 0.5632 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006984/0.4221, allocations: 455.1 kB / 0.5636 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005626/0.4226, allocations: 295.3 kB / 0.5639 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00054/0.4232, allocations: 167.5 kB / 0.5641 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003054/0.4235, allocations: 171.7 kB / 0.5642 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.4236, allocations: 12 kB / 0.5642 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.4238, allocations: 115.7 kB / 0.5643 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003088/0.4241, allocations: 247.5 kB / 0.5646 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.4241, allocations: 4 kB / 0.5646 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.471e-05/0.4242, allocations: 23.94 kB / 0.5646 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.4243, allocations: 83.69 kB / 0.5647 GB, free: 488 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.889e-05/0.4244, allocations: 67.25 kB / 0.5648 GB, free: 420 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000366/0.4247, allocations: 257 kB / 0.565 GB, free: 168 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.4247, allocations: 0 / 0.565 GB, free: 168 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.4247, allocations: 0 / 0.565 GB, free: 168 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.665e-06/0.4248, allocations: 0 / 0.565 GB, free: 168 kB / 398.1 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.0009091/0.4257, allocations: 0.5738 MB / 0.5656 GB, free: 15.56 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.4257, allocations: 19.91 kB / 0.5656 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.121e-05/0.4258, allocations: 40.66 kB / 0.5656 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003267/0.4261, allocations: 246.8 kB / 0.5659 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.683e-06/0.4261, allocations: 384 / 0.5659 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.4261, allocations: 4.375 kB / 0.5659 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.4263, allocations: 54.8 kB / 0.5659 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.4263, allocations: 0 / 0.5659 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.4263, allocations: 0 / 0.5659 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.4263, allocations: 0 / 0.5659 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.858e-05/0.4264, allocations: 27.98 kB / 0.5659 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005398/0.427, allocations: 328.4 kB / 0.5662 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.4271, allocations: 34.56 kB / 0.5663 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.351e-05/0.4271, allocations: 16.91 kB / 0.5663 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.4272, allocations: 4 kB / 0.5663 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.4272, allocations: 30.56 kB / 0.5663 GB, free: 14.69 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.4272, allocations: 0 / 0.5663 GB, free: 14.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002995/0.4275, allocations: 109.5 kB / 0.5664 GB, free: 14.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.4275, allocations: 59.34 kB / 0.5665 GB, free: 14.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008774/0.4284, allocations: 0.8574 MB / 0.5673 GB, free: 13.63 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.4284, allocations: 29.7 kB / 0.5674 GB, free: 13.6 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001942/0.4286, allocations: 212 kB / 0.5676 GB, free: 13.39 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.4286, allocations: 11.94 kB / 0.5676 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.74e-05/0.4287, allocations: 13.72 kB / 0.5676 GB, free: 13.36 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001913/0.4289, allocations: 362.7 kB / 0.5679 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.497e-05/0.4289, allocations: 7.984 kB / 0.5679 GB, free: 12.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.723e-05/0.429, allocations: 12 kB / 0.5679 GB, free: 12.97 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.463e-05/0.429, allocations: 32.89 kB / 0.568 GB, free: 12.94 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.429, allocations: 3.938 kB / 0.568 GB, free: 12.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002336/0.4293, allocations: 93.41 kB / 0.5681 GB, free: 12.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.4293, allocations: 4 kB / 0.5681 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.4293, allocations: 4 kB / 0.5681 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.4293, allocations: 0 / 0.5681 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.921e-05/0.4294, allocations: 7.984 kB / 0.5681 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.4294, allocations: 3.984 kB / 0.5681 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.934e-05/0.4294, allocations: 8.031 kB / 0.5681 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.4294, allocations: 3.938 kB / 0.5681 GB, free: 12.8 MB / 414.1 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.0002142/0.4297, allocations: 217.7 kB / 0.5683 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.006e-05/0.4297, allocations: 43.72 kB / 0.5684 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002296/0.4299, allocations: 108.7 kB / 0.5685 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.4299, allocations: 0 / 0.5685 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.43, allocations: 0 / 0.5685 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.43, allocations: 0 / 0.5685 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003211/0.4303, allocations: 237.1 kB / 0.5687 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.4303, allocations: 8.016 kB / 0.5687 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.828e-05/0.4303, allocations: 4 kB / 0.5687 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.4303, allocations: 0 / 0.5687 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.4303, allocations: 0 / 0.5687 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.4303, allocations: 4 kB / 0.5687 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4303, allocations: 0 / 0.5687 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002307/0.4306, allocations: 199.1 kB / 0.5689 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.279e-05/0.4306, allocations: 31.72 kB / 0.5689 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.4306, allocations: 0 / 0.5689 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.809e-05/0.4307, allocations: 8.031 kB / 0.5689 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.032e-05/0.4307, allocations: 7.969 kB / 0.5689 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.4307, allocations: 0 / 0.5689 GB, free: 11.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000695/0.4314, allocations: 0.6472 MB / 0.5696 GB, free: 11.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4314, allocations: 0 / 0.5696 GB, free: 11.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002612/0.4317, allocations: 23.94 kB / 0.5696 GB, free: 11.22 MB / 414.1 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.001433/0.4331, allocations: 387.2 kB / 0.57 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001547/0.4333, allocations: 23.98 kB / 0.57 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4333, allocations: 0 / 0.57 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.662e-05/0.4333, allocations: 11.98 kB / 0.57 GB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004012/0.4337, allocations: 36.34 kB / 0.57 GB, free: 10.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.4349, allocations: 0.783 MB / 0.5708 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.4351, allocations: 220.1 kB / 0.571 GB, free: 9.879 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.557e-05/0.4352, allocations: 8 kB / 0.571 GB, free: 9.871 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.052e-05/0.4352, allocations: 19.42 kB / 0.571 GB, free: 9.852 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4352, allocations: 0 / 0.571 GB, free: 9.852 MB / 414.1 MB Notification: Performance of Templates: time 0.005694/0.4409, allocations: 1.46 MB / 0.5725 GB, free: 8.402 MB / 414.1 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: 5.277632896322757]