Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.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.001623/0.001623, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001746/0.001746, allocations: 213.5 kB / 23.74 MB, free: 4.656 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.604/1.604, allocations: 230.6 MB / 257.5 MB, free: 8.027 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.2631/0.2631, allocations: 46.94 MB / 360.9 MB, free: 4.277 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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,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.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002351/0.002351, allocations: 59.91 kB / 0.4967 GB, free: 7.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.447/0.4494, allocations: 66.04 MB / 0.5611 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.003784/0.4532, allocations: 1.621 MB / 0.5627 GB, free: 2.805 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001355/0.4545, allocations: 0.5582 MB / 0.5633 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.478e-05/0.4546, allocations: 4 kB / 0.5633 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002514/0.4549, allocations: 23.84 kB / 0.5633 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000383/0.4552, allocations: 79.62 kB / 0.5634 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003635/0.4556, allocations: 107.7 kB / 0.5635 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002003/0.4558, allocations: 67.83 kB / 0.5635 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.4559, allocations: 15.92 kB / 0.5636 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.147e-05/0.456, allocations: 23.92 kB / 0.5636 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.169e-05/0.4561, allocations: 27.8 kB / 0.5636 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.4561, allocations: 0 / 0.5636 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.022e-05/0.4562, allocations: 35.98 kB / 0.5636 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.702e-05/0.4563, allocations: 11.92 kB / 0.5636 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.944e-05/0.4563, allocations: 27.81 kB / 0.5637 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002512/0.4566, allocations: 82.05 kB / 0.5638 GB, free: 1.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.4566, allocations: 0 / 0.5638 GB, free: 1.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.4566, allocations: 0 / 0.5638 GB, free: 1.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.4566, allocations: 4 kB / 0.5638 GB, free: 1.746 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.000652/0.4572, allocations: 309.8 kB / 0.5641 GB, free: 1.414 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.491e-05/0.4573, allocations: 12.03 kB / 0.5641 GB, free: 1.402 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.117e-05/0.4573, allocations: 8.875 kB / 0.5641 GB, free: 1.395 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002435/0.4576, allocations: 130.4 kB / 0.5642 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.4576, allocations: 4.375 kB / 0.5642 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.042e-05/0.4576, allocations: 4.375 kB / 0.5642 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.4578, allocations: 45.81 kB / 0.5642 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.4578, allocations: 4 kB / 0.5643 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.054e-05/0.4578, allocations: 11.92 kB / 0.5643 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.4578, allocations: 0 / 0.5643 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.458, allocations: 19.98 kB / 0.5643 GB, free: 1.148 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004974/0.4585, allocations: 259.9 kB / 0.5645 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002715/0.4587, allocations: 42.55 kB / 0.5646 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.357e-05/0.4588, allocations: 16.86 kB / 0.5646 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.255e-05/0.4588, allocations: 4 kB / 0.5646 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.4589, allocations: 30.66 kB / 0.5646 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.283e-06/0.4589, allocations: 4 kB / 0.5646 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006149/0.4595, allocations: 145.4 kB / 0.5648 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.4596, allocations: 63.39 kB / 0.5648 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.4597, allocations: 148.7 kB / 0.565 GB, free: 364 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.4598, allocations: 29.7 kB / 0.565 GB, free: 328 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.923e-05/0.4598, allocations: 96.11 kB / 0.5651 GB, free: 228 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.876e-05/0.4599, allocations: 23.8 kB / 0.5651 GB, free: 204 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.169e-05/0.4599, allocations: 17.72 kB / 0.5651 GB, free: 180 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002426/0.4602, allocations: 326.8 kB / 0.5654 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.325e-05/0.4602, allocations: 23.98 kB / 0.5655 GB, free: 15.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.382e-05/0.4603, allocations: 19.98 kB / 0.5655 GB, free: 15.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.4605, allocations: 57 kB / 0.5655 GB, free: 15.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.4605, allocations: 0 / 0.5655 GB, free: 15.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001909/0.4606, allocations: 85.56 kB / 0.5656 GB, free: 15.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.4607, allocations: 4 kB / 0.5656 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.4607, allocations: 0 / 0.5656 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.4607, allocations: 4 kB / 0.5656 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.545e-05/0.4607, allocations: 19.92 kB / 0.5656 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.4608, allocations: 0 / 0.5656 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.337e-05/0.4608, allocations: 11.98 kB / 0.5657 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.4608, allocations: 0 / 0.5657 GB, free: 15.62 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 9.919e-05/0.4609, allocations: 117.8 kB / 0.5658 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.998e-05/0.4609, allocations: 7.953 kB / 0.5658 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002722/0.4612, allocations: 102 kB / 0.5659 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.4612, allocations: 0 / 0.5659 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.4612, allocations: 0 / 0.5659 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.4612, allocations: 4 kB / 0.5659 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004699/0.4617, allocations: 333.5 kB / 0.5662 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4617, allocations: 0 / 0.5662 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.796e-05/0.4618, allocations: 11.98 kB / 0.5662 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.4618, allocations: 4 kB / 0.5662 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.4618, allocations: 4 kB / 0.5662 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.4618, allocations: 3.938 kB / 0.5662 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4618, allocations: 0 / 0.5662 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002889/0.4621, allocations: 191.9 kB / 0.5664 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.277e-05/0.4621, allocations: 3.953 kB / 0.5664 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.4621, allocations: 4 kB / 0.5664 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.799e-05/0.4622, allocations: 15.91 kB / 0.5664 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.19e-05/0.4622, allocations: 4 kB / 0.5664 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.4622, allocations: 0 / 0.5664 GB, free: 14.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001164/0.4623, allocations: 119.2 kB / 0.5665 GB, free: 14.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4623, allocations: 0 / 0.5665 GB, free: 14.62 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002653/0.4626, allocations: 19.94 kB / 0.5666 GB, free: 14.6 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.001659/0.4643, allocations: 402.5 kB / 0.5669 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002274/0.4645, allocations: 59.89 kB / 0.567 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4645, allocations: 3.938 kB / 0.567 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.979e-05/0.4646, allocations: 23.98 kB / 0.567 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003709/0.4649, allocations: 18.48 kB / 0.567 GB, free: 14.26 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005006/0.4654, allocations: 190.1 kB / 0.5672 GB, free: 14.04 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003792/0.4658, allocations: 0.7002 MB / 0.5679 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.021e-05/0.4659, allocations: 19.75 kB / 0.5679 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.388e-05/0.4659, allocations: 15.42 kB / 0.5679 GB, free: 13.28 MB / 414.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4659, allocations: 0 / 0.5679 GB, free: 13.28 MB / 414.1 MB Notification: Performance of Templates: time 0.004447/0.4704, allocations: 1.157 MB / 0.5691 GB, free: 12.13 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.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.633562548086047]