Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.001267/0.001267, allocations: 109.4 kB / 20.43 MB, free: 1.473 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.001507/0.001507, allocations: 213.7 kB / 23.74 MB, free: 4.688 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.597/1.597, allocations: 230.6 MB / 257.5 MB, free: 8.035 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.2447/0.2447, allocations: 46.93 MB / 360.9 MB, free: 4.293 MB / 286.1 MB " [Timeout remaining time 179] 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002488/0.002488, allocations: 67.91 kB / 0.4967 GB, free: 7.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4163/0.4188, allocations: 66.03 MB / 0.5612 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.00383/0.4226, allocations: 1.698 MB / 0.5628 GB, free: 2.719 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001274/0.4239, allocations: 0.5932 MB / 0.5634 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.415e-05/0.424, allocations: 8 kB / 0.5634 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007209/0.4247, allocations: 459.1 kB / 0.5638 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005624/0.4252, allocations: 291.3 kB / 0.5641 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005683/0.4258, allocations: 175.4 kB / 0.5643 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003355/0.4261, allocations: 183.6 kB / 0.5645 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001553/0.4263, allocations: 16.22 kB / 0.5645 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001613/0.4265, allocations: 111.7 kB / 0.5646 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003249/0.4268, allocations: 255.5 kB / 0.5648 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.4268, allocations: 7.938 kB / 0.5648 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001378/0.4269, allocations: 51.97 kB / 0.5649 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001554/0.4271, allocations: 91.56 kB / 0.565 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.4272, allocations: 103 kB / 0.5651 GB, free: 412 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004478/0.4277, allocations: 273 kB / 0.5653 GB, free: 144 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4277, allocations: 3.938 kB / 0.5653 GB, free: 140 kB / 398.1 MB Notification: Performance of FrontEnd: time 4.94e-06/0.4277, allocations: 7.984 kB / 0.5653 GB, free: 132 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.374e-05/0.4277, allocations: 0 / 0.5653 GB, free: 132 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000867/0.4285, allocations: 0.5854 MB / 0.5659 GB, free: 15.51 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.4286, allocations: 12.03 kB / 0.5659 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.545e-05/0.4287, allocations: 44.61 kB / 0.566 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003364/0.429, allocations: 250.6 kB / 0.5662 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.486e-06/0.429, allocations: 4.375 kB / 0.5662 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.372e-05/0.4291, allocations: 8.375 kB / 0.5662 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.4292, allocations: 65.8 kB / 0.5663 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.4293, allocations: 0 / 0.5663 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.4293, allocations: 0 / 0.5663 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.4293, allocations: 7.984 kB / 0.5663 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/0.4294, allocations: 35.92 kB / 0.5663 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007056/0.4301, allocations: 383.7 kB / 0.5667 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001402/0.4302, allocations: 42.59 kB / 0.5667 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.92e-05/0.4303, allocations: 20.94 kB / 0.5667 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.4303, allocations: 4 kB / 0.5667 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.4304, allocations: 34.56 kB / 0.5668 GB, free: 14.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.4304, allocations: 0 / 0.5668 GB, free: 14.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001073/0.4314, allocations: 320.6 kB / 0.5671 GB, free: 14.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.4315, allocations: 59.34 kB / 0.5671 GB, free: 14.13 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009761/0.4325, allocations: 0.866 MB / 0.568 GB, free: 13.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.4325, allocations: 25.7 kB / 0.568 GB, free: 13.22 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002193/0.4327, allocations: 232 kB / 0.5682 GB, free: 12.99 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.007e-05/0.4327, allocations: 27.78 kB / 0.5683 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.61e-05/0.4328, allocations: 17.72 kB / 0.5683 GB, free: 12.94 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002467/0.433, allocations: 362.8 kB / 0.5686 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.751e-05/0.4331, allocations: 35.97 kB / 0.5687 GB, free: 12.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.375e-05/0.4332, allocations: 31.92 kB / 0.5687 GB, free: 12.51 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00025/0.4335, allocations: 80.8 kB / 0.5688 GB, free: 12.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.4335, allocations: 3.938 kB / 0.5688 GB, free: 12.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003062/0.4338, allocations: 145.3 kB / 0.5689 GB, free: 12.28 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.4338, allocations: 8 kB / 0.5689 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.4338, allocations: 4 kB / 0.5689 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.4338, allocations: 0 / 0.5689 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.4339, allocations: 19.92 kB / 0.5689 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.4339, allocations: 3.938 kB / 0.5689 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.723e-05/0.434, allocations: 7.938 kB / 0.569 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.434, allocations: 8.406 kB / 0.569 GB, free: 12.23 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 (8): * Single equations (assignments): 8 * 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.0002298/0.4342, allocations: 213.8 kB / 0.5692 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.351e-05/0.4343, allocations: 43.72 kB / 0.5692 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000385/0.4347, allocations: 173.8 kB / 0.5694 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.4347, allocations: 7.984 kB / 0.5694 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.4347, allocations: 3.938 kB / 0.5694 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.4347, allocations: 0 / 0.5694 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007704/0.4355, allocations: 0.4905 MB / 0.5699 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.4355, allocations: 11.91 kB / 0.5699 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.344e-05/0.4356, allocations: 23.98 kB / 0.5699 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.4356, allocations: 0 / 0.5699 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.4356, allocations: 0 / 0.5699 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.4356, allocations: 4 kB / 0.5699 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4356, allocations: 0 / 0.5699 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003201/0.4359, allocations: 248.1 kB / 0.5701 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.071e-05/0.436, allocations: 43.55 kB / 0.5702 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.519e-05/0.436, allocations: 11.98 kB / 0.5702 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.536e-05/0.4361, allocations: 0 / 0.5702 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/0.4361, allocations: 7.984 kB / 0.5702 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.4361, allocations: 4 kB / 0.5702 GB, free: 10.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007098/0.4369, allocations: 0.655 MB / 0.5708 GB, free: 10.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4369, allocations: 3.938 kB / 0.5708 GB, free: 10.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003048/0.4372, allocations: 35.92 kB / 0.5709 GB, free: 10.16 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001927/0.4391, allocations: 449.5 kB / 0.5713 GB, free: 9.902 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002851/0.4394, allocations: 83.88 kB / 0.5714 GB, free: 9.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4394, allocations: 0 / 0.5714 GB, free: 9.82 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.4395, allocations: 39.97 kB / 0.5714 GB, free: 9.781 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004548/0.4399, allocations: 32.89 kB / 0.5715 GB, free: 9.754 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.4413, allocations: 0.8309 MB / 0.5723 GB, free: 8.891 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005214/0.4419, allocations: 0.8338 MB / 0.5731 GB, free: 8.031 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.247e-05/0.442, allocations: 28.7 kB / 0.5731 GB, free: 8.004 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.021e-05/0.442, allocations: 15.44 kB / 0.5731 GB, free: 7.988 MB / 414.1 MB Notification: Performance of SimCode: time 9.62e-07/0.442, allocations: 0 / 0.5731 GB, free: 7.988 MB / 414.1 MB Notification: Performance of Templates: time 0.006388/0.4484, allocations: 1.821 MB / 0.5749 GB, free: 6.18 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.63428966794163]