Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.001771/0.001771, allocations: 107.1 kB / 20.44 MB, free: 1.355 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.001613/0.001613, allocations: 212.7 kB / 23.73 MB, free: 4.531 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.506/1.506, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.241/0.241, allocations: 46.95 MB / 360.9 MB, free: 4.027 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.CombiTable1Dv.Test25_usertab,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.CombiTable1Dv.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,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.CombiTable1Dv.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002953/0.002953, allocations: 67.88 kB / 0.4966 GB, free: 7.184 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4305/0.4335, allocations: 66.04 MB / 0.5611 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.004607/0.4381, allocations: 1.593 MB / 0.5627 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001587/0.4397, allocations: 0.5465 MB / 0.5632 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.3e-05/0.4397, allocations: 4 kB / 0.5632 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002936/0.44, allocations: 23.84 kB / 0.5632 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003751/0.4404, allocations: 79.62 kB / 0.5633 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004621/0.4409, allocations: 123.2 kB / 0.5634 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002064/0.4411, allocations: 67.83 kB / 0.5635 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.4412, allocations: 11.98 kB / 0.5635 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.4413, allocations: 27.86 kB / 0.5635 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.4414, allocations: 35.84 kB / 0.5635 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.14e-05/0.4414, allocations: 4 kB / 0.5636 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002737/0.4417, allocations: 99.88 kB / 0.5636 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.88e-05/0.4418, allocations: 19.92 kB / 0.5637 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.859e-05/0.4418, allocations: 15.88 kB / 0.5637 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003908/0.4422, allocations: 145.9 kB / 0.5638 GB, free: 1.352 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.4422, allocations: 0 / 0.5638 GB, free: 1.352 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4422, allocations: 3.938 kB / 0.5638 GB, free: 1.348 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.4422, allocations: 0 / 0.5638 GB, free: 1.348 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.000708/0.4429, allocations: 325.7 kB / 0.5641 GB, free: 1 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.443, allocations: 8.031 kB / 0.5641 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.816e-05/0.4431, allocations: 8.891 kB / 0.5642 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002769/0.4433, allocations: 138.4 kB / 0.5643 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.4434, allocations: 8.375 kB / 0.5643 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/0.4434, allocations: 384 / 0.5643 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002454/0.4436, allocations: 97.22 kB / 0.5644 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.4436, allocations: 0 / 0.5644 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.4436, allocations: 0 / 0.5644 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.4436, allocations: 0 / 0.5644 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00014/0.4438, allocations: 31.86 kB / 0.5644 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006229/0.4444, allocations: 236.6 kB / 0.5646 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/0.4446, allocations: 50.5 kB / 0.5647 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.4447, allocations: 32.88 kB / 0.5647 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.261e-05/0.4447, allocations: 3.938 kB / 0.5647 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.421e-05/0.4448, allocations: 30.56 kB / 0.5648 GB, free: 280 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.432e-06/0.4448, allocations: 0 / 0.5648 GB, free: 280 kB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.001005/0.4458, allocations: 185.3 kB / 0.5649 GB, free: 88 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/0.4459, allocations: 77.11 kB / 0.565 GB, free: 15.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002615/0.4462, allocations: 160.2 kB / 0.5652 GB, free: 15.83 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.221e-05/0.4462, allocations: 29.7 kB / 0.5652 GB, free: 15.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.345e-05/0.4463, allocations: 88.14 kB / 0.5653 GB, free: 15.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.766e-05/0.4463, allocations: 27.78 kB / 0.5653 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.051e-05/0.4464, allocations: 25.72 kB / 0.5653 GB, free: 15.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002126/0.4466, allocations: 326.8 kB / 0.5656 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.4468, allocations: 31.97 kB / 0.5657 GB, free: 15.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001787/0.4469, allocations: 71.45 kB / 0.5657 GB, free: 15.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002757/0.4472, allocations: 80.84 kB / 0.5658 GB, free: 15.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.4472, allocations: 0 / 0.5658 GB, free: 15.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003648/0.4476, allocations: 105.5 kB / 0.5659 GB, free: 15.01 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.137e-05/0.4476, allocations: 11.98 kB / 0.5659 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.4476, allocations: 0 / 0.5659 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.4477, allocations: 0 / 0.5659 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.4478, allocations: 15.98 kB / 0.5659 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.4478, allocations: 0 / 0.5659 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.943e-05/0.4479, allocations: 4.281 kB / 0.5659 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.4479, allocations: 8 kB / 0.5659 GB, free: 14.97 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.0001509/0.4481, allocations: 121.8 kB / 0.5661 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.863e-05/0.4481, allocations: 11.94 kB / 0.5661 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004308/0.4485, allocations: 118.3 kB / 0.5662 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-06/0.4485, allocations: 0 / 0.5662 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.4486, allocations: 0 / 0.5662 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.4486, allocations: 0 / 0.5662 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007811/0.4493, allocations: 338 kB / 0.5665 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.4493, allocations: 0 / 0.5665 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.4494, allocations: 15.98 kB / 0.5665 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.778e-06/0.4494, allocations: 0 / 0.5665 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.4495, allocations: 4 kB / 0.5665 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.4495, allocations: 0 / 0.5665 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.4495, allocations: 11.88 kB / 0.5665 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004126/0.4499, allocations: 203.8 kB / 0.5667 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.545e-05/0.4499, allocations: 11.95 kB / 0.5667 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3e-05/0.4499, allocations: 7.938 kB / 0.5668 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.4501, allocations: 4 kB / 0.5668 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.903e-05/0.4501, allocations: 15.92 kB / 0.5668 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.754e-06/0.4501, allocations: 0 / 0.5668 GB, free: 14.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000149/0.4503, allocations: 117.8 kB / 0.5669 GB, free: 13.94 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4503, allocations: 0 / 0.5669 GB, free: 13.94 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000511/0.4508, allocations: 43.86 kB / 0.5669 GB, free: 13.89 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 (7): * Single equations (assignments): 7 * 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.002754/0.4536, allocations: 0.519 MB / 0.5674 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000383/0.4539, allocations: 87.8 kB / 0.5675 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.4539, allocations: 0 / 0.5675 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.4541, allocations: 27.98 kB / 0.5675 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005618/0.4546, allocations: 15.98 kB / 0.5676 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007579/0.4554, allocations: 193.8 kB / 0.5677 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.4555, allocations: 75.33 kB / 0.5678 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001421/0.4557, allocations: 32.89 kB / 0.5678 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.194e-05/0.4557, allocations: 19.42 kB / 0.5679 GB, free: 13.1 MB / 414.1 MB Notification: Performance of SimCode: time 6.72e-07/0.4557, allocations: 0 / 0.5679 GB, free: 13.1 MB / 414.1 MB Notification: Performance of Templates: time 0.009561/0.4653, allocations: 2.037 MB / 0.5699 GB, free: 11.08 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.3426262638531625]