Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.001691/0.001691, 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.001831/0.001831, allocations: 214.1 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.704/1.704, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.253/0.253, allocations: 46.93 MB / 360.8 MB, free: 4.262 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.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002192/0.002192, allocations: 63.91 kB / 0.4967 GB, free: 7.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4346/0.4368, allocations: 66.02 MB / 0.5611 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.00373/0.4406, allocations: 1.631 MB / 0.5627 GB, free: 2.746 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002311/0.4429, allocations: 1.255 MB / 0.564 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.876e-05/0.4429, allocations: 4 kB / 0.564 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002815/0.4432, allocations: 23.86 kB / 0.564 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003239/0.4436, allocations: 83.61 kB / 0.5641 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002819/0.4438, allocations: 91.69 kB / 0.5641 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000188/0.444, allocations: 75.72 kB / 0.5642 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.4441, allocations: 7.984 kB / 0.5642 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.271e-05/0.4442, allocations: 27.91 kB / 0.5643 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.4444, allocations: 27.86 kB / 0.5643 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.4444, allocations: 4 kB / 0.5643 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002225/0.4446, allocations: 107.9 kB / 0.5644 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.724e-05/0.4447, allocations: 15.92 kB / 0.5644 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.606e-05/0.4447, allocations: 23.86 kB / 0.5644 GB, free: 1 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002637/0.445, allocations: 145.8 kB / 0.5646 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.445, allocations: 0 / 0.5646 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.445, allocations: 0 / 0.5646 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.445, allocations: 0 / 0.5646 GB, free: 0.8633 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006175/0.4456, allocations: 325.7 kB / 0.5649 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.4456, allocations: 16.02 kB / 0.5649 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.381e-05/0.4457, allocations: 8.891 kB / 0.5649 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003046/0.446, allocations: 134.4 kB / 0.565 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.933e-06/0.446, allocations: 384 / 0.565 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.917e-05/0.446, allocations: 8.375 kB / 0.565 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.4462, allocations: 67.45 kB / 0.5651 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.4462, allocations: 0 / 0.5651 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.4462, allocations: 0 / 0.5651 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.4462, allocations: 0 / 0.5651 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.448e-05/0.4463, allocations: 23.98 kB / 0.5651 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004569/0.4468, allocations: 255.9 kB / 0.5654 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002242/0.447, allocations: 42.5 kB / 0.5654 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.169e-05/0.4471, allocations: 16.86 kB / 0.5654 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.4471, allocations: 0 / 0.5654 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.4471, allocations: 38.64 kB / 0.5655 GB, free: 15.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.4471, allocations: 0 / 0.5655 GB, free: 15.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005884/0.4477, allocations: 137.4 kB / 0.5656 GB, free: 15.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001738/0.4479, allocations: 77.11 kB / 0.5657 GB, free: 15.58 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.448, allocations: 144.2 kB / 0.5658 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.149e-05/0.4481, allocations: 29.7 kB / 0.5658 GB, free: 15.4 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.939e-05/0.4481, allocations: 96.12 kB / 0.5659 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.109e-05/0.4482, allocations: 23.8 kB / 0.5659 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/0.4482, allocations: 17.72 kB / 0.566 GB, free: 15.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002465/0.4484, allocations: 322.8 kB / 0.5663 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.754e-05/0.4485, allocations: 15.98 kB / 0.5663 GB, free: 14.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.829e-05/0.4486, allocations: 33.77 kB / 0.5663 GB, free: 14.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.4487, allocations: 56.8 kB / 0.5664 GB, free: 14.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.4487, allocations: 0 / 0.5664 GB, free: 14.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001829/0.4489, allocations: 77.62 kB / 0.5664 GB, free: 14.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.4489, allocations: 11.92 kB / 0.5665 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.4489, allocations: 0 / 0.5665 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.4489, allocations: 4 kB / 0.5665 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.226e-05/0.449, allocations: 8 kB / 0.5665 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.449, allocations: 4 kB / 0.5665 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.641e-05/0.4491, allocations: 7.984 kB / 0.5665 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.4491, allocations: 7.938 kB / 0.5665 GB, free: 14.69 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 (5): * Single equations (assignments): 5 * 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.0001024/0.4492, allocations: 117.8 kB / 0.5666 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.244e-05/0.4492, allocations: 7.953 kB / 0.5666 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002699/0.4495, allocations: 90 kB / 0.5667 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.4495, allocations: 288 / 0.5667 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.4495, allocations: 7.984 kB / 0.5667 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.4495, allocations: 7.984 kB / 0.5667 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004504/0.4499, allocations: 325.5 kB / 0.567 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.4499, allocations: 0 / 0.567 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.678e-05/0.45, allocations: 12.3 kB / 0.567 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.45, allocations: 0 / 0.567 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.45, allocations: 4 kB / 0.567 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.45, allocations: 7.938 kB / 0.567 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.45, allocations: 4 kB / 0.567 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002641/0.4503, allocations: 175.5 kB / 0.5672 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.796e-05/0.4503, allocations: 7.938 kB / 0.5672 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.4503, allocations: 4 kB / 0.5672 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.148e-05/0.4504, allocations: 3.938 kB / 0.5672 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.783e-05/0.4504, allocations: 7.984 kB / 0.5672 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.4504, allocations: 4 kB / 0.5672 GB, free: 13.83 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001175/0.4506, allocations: 115.2 kB / 0.5673 GB, free: 13.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4506, allocations: 0 / 0.5673 GB, free: 13.71 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002831/0.4508, allocations: 39.86 kB / 0.5674 GB, free: 13.68 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 (5): * Single equations (assignments): 5 * 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.00182/0.4527, allocations: 0.4944 MB / 0.5679 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002084/0.4529, allocations: 43.97 kB / 0.5679 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4529, allocations: 0 / 0.5679 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.571e-05/0.4529, allocations: 31.92 kB / 0.5679 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/0.4533, allocations: 18.48 kB / 0.568 GB, free: 13.28 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004635/0.4538, allocations: 173.5 kB / 0.5681 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/0.4541, allocations: 0.6885 MB / 0.5688 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.897e-05/0.4542, allocations: 15.78 kB / 0.5688 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.057e-05/0.4543, allocations: 15.42 kB / 0.5688 GB, free: 12.34 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.4543, allocations: 0 / 0.5688 GB, free: 12.34 MB / 414.1 MB Notification: Performance of Templates: time 0.005481/0.4597, allocations: 1.765 MB / 0.5705 GB, free: 10.58 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.853113386081532]