Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.001707/0.001707, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002414/0.002414, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.497/1.497, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2246/0.2246, allocations: 44.93 MB / 359.6 MB, free: 6.078 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002441/0.002441, allocations: 59.91 kB / 0.4943 GB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3664/0.3688, allocations: 65.48 MB / 0.5582 GB, free: 7.5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003299/0.3721, allocations: 1.644 MB / 0.5598 GB, free: 5.844 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00112/0.3733, allocations: 0.5271 MB / 0.5603 GB, free: 5.312 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.207e-05/0.3733, allocations: 0 / 0.5603 GB, free: 5.312 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000294/0.3736, allocations: 99.67 kB / 0.5604 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000324/0.3739, allocations: 107.6 kB / 0.5605 GB, free: 5.109 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000276/0.3742, allocations: 99.69 kB / 0.5606 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002113/0.3744, allocations: 95.75 kB / 0.5607 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.3745, allocations: 31.56 kB / 0.5608 GB, free: 4.891 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.261e-05/0.3746, allocations: 43.84 kB / 0.5608 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.3747, allocations: 63.8 kB / 0.5609 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.834e-05/0.3748, allocations: 4 kB / 0.5609 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.3749, allocations: 55.91 kB / 0.5609 GB, free: 4.727 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.511e-05/0.3749, allocations: 23.92 kB / 0.5609 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.85e-05/0.375, allocations: 31.73 kB / 0.561 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002238/0.3752, allocations: 130.1 kB / 0.5611 GB, free: 4.547 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3752, allocations: 4 kB / 0.5611 GB, free: 4.543 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3752, allocations: 0 / 0.5611 GB, free: 4.543 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.573e-06/0.3752, allocations: 0 / 0.5611 GB, free: 4.543 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006607/0.3759, allocations: 365.4 kB / 0.5614 GB, free: 4.156 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.3759, allocations: 8.031 kB / 0.5614 GB, free: 4.148 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.731e-05/0.376, allocations: 20.84 kB / 0.5615 GB, free: 4.129 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002487/0.3762, allocations: 146.2 kB / 0.5616 GB, free: 3.961 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.3763, allocations: 4.375 kB / 0.5616 GB, free: 3.957 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.129e-05/0.3763, allocations: 8.375 kB / 0.5616 GB, free: 3.949 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.3765, allocations: 65.8 kB / 0.5617 GB, free: 3.879 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.3765, allocations: 3.953 kB / 0.5617 GB, free: 3.875 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.3765, allocations: 4 kB / 0.5617 GB, free: 3.871 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.3765, allocations: 3.938 kB / 0.5617 GB, free: 3.867 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000132/0.3766, allocations: 51.89 kB / 0.5617 GB, free: 3.816 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004941/0.3771, allocations: 264.4 kB / 0.562 GB, free: 3.527 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.3773, allocations: 62.5 kB / 0.5621 GB, free: 3.457 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.137e-05/0.3773, allocations: 20.84 kB / 0.5621 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.3774, allocations: 0 / 0.5621 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.873e-05/0.3774, allocations: 38.56 kB / 0.5621 GB, free: 3.387 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 7.92e-07/0.3774, allocations: 0 / 0.5621 GB, free: 3.387 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001081/0.3785, allocations: 313.2 kB / 0.5624 GB, free: 3.074 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.3785, allocations: 55.34 kB / 0.5625 GB, free: 3.008 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002617/0.3788, allocations: 235.6 kB / 0.5627 GB, free: 2.758 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.3788, allocations: 29.7 kB / 0.5627 GB, free: 2.723 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.627e-05/0.3789, allocations: 116 kB / 0.5628 GB, free: 2.605 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.337e-05/0.379, allocations: 39.64 kB / 0.5629 GB, free: 2.566 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.756e-05/0.379, allocations: 33.7 kB / 0.5629 GB, free: 2.527 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.3792, allocations: 334.8 kB / 0.5632 GB, free: 2.191 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.221e-05/0.3793, allocations: 35.97 kB / 0.5632 GB, free: 2.156 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.155e-05/0.3794, allocations: 35.11 kB / 0.5633 GB, free: 2.125 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.3795, allocations: 84.83 kB / 0.5634 GB, free: 2.039 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.3795, allocations: 0 / 0.5634 GB, free: 2.039 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002703/0.3798, allocations: 145.7 kB / 0.5635 GB, free: 1.891 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.3798, allocations: 7.938 kB / 0.5635 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.3798, allocations: 3.938 kB / 0.5635 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.3799, allocations: 0 / 0.5635 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.38, allocations: 35.91 kB / 0.5635 GB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.38, allocations: 4.641 kB / 0.5636 GB, free: 1.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.36e-05/0.38, allocations: 4 kB / 0.5636 GB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.38, allocations: 4 kB / 0.5636 GB, free: 1.832 MB / 398.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 (13): * Single equations (assignments): 13 * 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.0001179/0.3802, allocations: 134.4 kB / 0.5637 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.931e-05/0.3802, allocations: 19.91 kB / 0.5637 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003681/0.3806, allocations: 163 kB / 0.5639 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.3806, allocations: 0 / 0.5639 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.3806, allocations: 3.938 kB / 0.5639 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.3806, allocations: 3.984 kB / 0.5639 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006074/0.3812, allocations: 406.8 kB / 0.5643 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.3812, allocations: 3.938 kB / 0.5643 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.969e-05/0.3813, allocations: 28.02 kB / 0.5643 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.3813, allocations: 4 kB / 0.5643 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.607e-06/0.3813, allocations: 0 / 0.5643 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.3813, allocations: 11.88 kB / 0.5643 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3813, allocations: 0 / 0.5643 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003284/0.3816, allocations: 248 kB / 0.5645 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.298e-05/0.3817, allocations: 15.84 kB / 0.5646 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.905e-05/0.3817, allocations: 4 kB / 0.5646 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.978e-05/0.3818, allocations: 7.984 kB / 0.5646 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.223e-05/0.3818, allocations: 11.98 kB / 0.5646 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.3818, allocations: 8 kB / 0.5646 GB, free: 0.707 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001718/0.382, allocations: 185.1 kB / 0.5648 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.382, allocations: 0 / 0.5648 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002674/0.3823, allocations: 23.94 kB / 0.5648 GB, free: 0.5039 MB / 398.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 (13): * Single equations (assignments): 13 * 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.001816/0.3841, allocations: 497.3 kB / 0.5653 GB, free: 232 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002613/0.3843, allocations: 91.89 kB / 0.5653 GB, free: 140 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3843, allocations: 3.938 kB / 0.5654 GB, free: 136 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001082/0.3845, allocations: 51.91 kB / 0.5654 GB, free: 84 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003826/0.3848, allocations: 27.67 kB / 0.5654 GB, free: 56 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006631/0.3855, allocations: 341.4 kB / 0.5658 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001178/0.3856, allocations: 104.9 kB / 0.5659 GB, free: 15.56 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.426e-05/0.3857, allocations: 23.44 kB / 0.5659 GB, free: 15.54 MB / 414.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3857, allocations: 0 / 0.5659 GB, free: 15.54 MB / 414.1 MB Notification: Performance of Templates: time 0.004406/0.3901, allocations: 2.108 MB / 0.5679 GB, free: 13.43 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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: 7.842829789966345]