Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.001527/0.001527, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001624/0.001624, allocations: 214.7 kB / 23.75 MB, free: 4.668 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.69/1.69, allocations: 230.6 MB / 257.5 MB, free: 7.98 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.2693/0.2693, allocations: 46.94 MB / 360.9 MB, free: 4.227 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.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002326/0.002326, allocations: 63.91 kB / 0.4967 GB, free: 7.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3637, allocations: 66.04 MB / 0.5612 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.003518/0.3672, allocations: 1.699 MB / 0.5628 GB, free: 2.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001177/0.3684, allocations: 0.5738 MB / 0.5634 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.286e-05/0.3685, allocations: 3.938 kB / 0.5634 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000747/0.3692, allocations: 455.1 kB / 0.5638 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005177/0.3697, allocations: 299.2 kB / 0.5641 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003553/0.3701, allocations: 135.3 kB / 0.5642 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002798/0.3704, allocations: 179.6 kB / 0.5644 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.3705, allocations: 12.23 kB / 0.5644 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.3706, allocations: 123.6 kB / 0.5645 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003248/0.371, allocations: 255.5 kB / 0.5648 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.371, allocations: 4 kB / 0.5648 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.3711, allocations: 55.97 kB / 0.5648 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001319/0.3712, allocations: 79.64 kB / 0.5649 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.3713, allocations: 107 kB / 0.565 GB, free: 416 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004049/0.3718, allocations: 280.9 kB / 0.5653 GB, free: 140 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3718, allocations: 4 kB / 0.5653 GB, free: 136 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3718, allocations: 3.938 kB / 0.5653 GB, free: 132 kB / 398.1 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.3718, 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.000931/0.3727, allocations: 0.5933 MB / 0.5659 GB, free: 15.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.3727, allocations: 12.03 kB / 0.5659 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.441e-05/0.3728, allocations: 44.61 kB / 0.5659 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003934/0.3732, allocations: 246.7 kB / 0.5662 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.3732, allocations: 384 / 0.5662 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.685e-05/0.3732, allocations: 8.375 kB / 0.5662 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.3734, allocations: 65.8 kB / 0.5662 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.3734, allocations: 0 / 0.5662 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.3735, allocations: 3.984 kB / 0.5662 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.3735, allocations: 0 / 0.5662 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002783/0.3737, allocations: 47.95 kB / 0.5663 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005903/0.3743, allocations: 375.6 kB / 0.5666 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002686/0.3746, allocations: 50.56 kB / 0.5667 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.302e-05/0.3747, allocations: 33.05 kB / 0.5667 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.3747, allocations: 3.938 kB / 0.5667 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.381e-05/0.3748, allocations: 34.56 kB / 0.5667 GB, free: 14.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.3748, allocations: 4 kB / 0.5668 GB, free: 14.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001551/0.3763, allocations: 472.3 kB / 0.5672 GB, free: 14.03 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.398e-05/0.3764, allocations: 55.34 kB / 0.5673 GB, free: 13.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009975/0.3774, allocations: 0.8575 MB / 0.5681 GB, free: 13.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.3774, allocations: 33.64 kB / 0.5681 GB, free: 13.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000207/0.3776, allocations: 216 kB / 0.5683 GB, free: 12.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.681e-05/0.3776, allocations: 39.69 kB / 0.5684 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.546e-05/0.3777, allocations: 17.72 kB / 0.5684 GB, free: 12.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002361/0.3779, allocations: 366.8 kB / 0.5687 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.3781, allocations: 43.97 kB / 0.5688 GB, free: 12.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.3782, allocations: 43.97 kB / 0.5688 GB, free: 12.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003403/0.3785, allocations: 104.7 kB / 0.5689 GB, free: 12.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.3785, allocations: 0 / 0.5689 GB, free: 12.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003469/0.3789, allocations: 173.3 kB / 0.5691 GB, free: 12.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.3789, allocations: 8 kB / 0.5691 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.3789, allocations: 0 / 0.5691 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.3789, allocations: 0 / 0.5691 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.379, allocations: 31.91 kB / 0.5691 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.379, allocations: 3.938 kB / 0.5691 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.428e-05/0.3791, allocations: 8 kB / 0.5691 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.3791, allocations: 11.98 kB / 0.5691 GB, free: 11.98 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 (11): * Single equations (assignments): 11 * 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.000254/0.3794, allocations: 213.8 kB / 0.5693 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.825e-05/0.3794, allocations: 47.67 kB / 0.5694 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004806/0.3799, allocations: 197.9 kB / 0.5696 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.3799, allocations: 7.922 kB / 0.5696 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3799, allocations: 0 / 0.5696 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3799, allocations: 4 kB / 0.5696 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009491/0.3809, allocations: 0.5459 MB / 0.5701 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3809, allocations: 0 / 0.5701 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.381, allocations: 31.91 kB / 0.5702 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.381, allocations: 4.062 kB / 0.5702 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.381, allocations: 4 kB / 0.5702 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.381, allocations: 0 / 0.5702 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.381, allocations: 7.984 kB / 0.5702 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004134/0.3814, allocations: 289.3 kB / 0.5704 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.084e-05/0.3815, allocations: 31.72 kB / 0.5705 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.961e-05/0.3815, allocations: 7.938 kB / 0.5705 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.3816, allocations: 11.98 kB / 0.5705 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.696e-05/0.3817, allocations: 8.078 kB / 0.5705 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.3817, allocations: 7.938 kB / 0.5705 GB, free: 10.47 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006905/0.3824, allocations: 0.6511 MB / 0.5711 GB, free: 9.824 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3824, allocations: 0 / 0.5711 GB, free: 9.824 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002728/0.3827, allocations: 47.88 kB / 0.5712 GB, free: 9.777 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0017/0.3844, allocations: 453 kB / 0.5716 GB, free: 9.512 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003293/0.3847, allocations: 111.8 kB / 0.5717 GB, free: 9.402 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3847, allocations: 0 / 0.5717 GB, free: 9.402 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.3848, allocations: 59.89 kB / 0.5718 GB, free: 9.344 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004359/0.3853, allocations: 32.23 kB / 0.5718 GB, free: 9.312 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.3866, allocations: 0.8551 MB / 0.5727 GB, free: 8.426 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005807/0.3872, allocations: 0.8338 MB / 0.5735 GB, free: 7.566 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.788e-05/0.3873, allocations: 12.5 kB / 0.5735 GB, free: 7.555 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.463e-05/0.3873, allocations: 19.42 kB / 0.5735 GB, free: 7.539 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3873, allocations: 0 / 0.5735 GB, free: 7.539 MB / 414.1 MB Notification: Performance of Templates: time 0.006546/0.3938, allocations: 1.926 MB / 0.5754 GB, free: 5.621 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.56765545392409]