Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.001282/0.001282, allocations: 82.66 kB / 21.43 MB, free: 3.07 MB / 18.57 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.001386/0.001386, allocations: 163.9 kB / 24.82 MB, free: 8.938 MB / 18.57 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 0.9872/0.9872, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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.2349/0.2349, allocations: 32.8 MB / 294.6 MB, free: 1.246 MB / 266.7 MB " [Timeout remaining time 180] 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.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 376.5 MB, free: 4.387 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.709e-05/1.858e-05, allocations: 9.344 kB / 376.5 MB, free: 4.379 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.002127/0.002145, allocations: 1.685 MB / 378.2 MB, free: 2.68 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007119/0.002857, allocations: 0.5568 MB / 378.7 MB, free: 2.117 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.074e-05/0.002908, allocations: 0 / 378.7 MB, free: 2.117 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004062/0.003314, allocations: 459 kB / 379.2 MB, free: 1.668 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003094/0.003623, allocations: 299.1 kB / 379.5 MB, free: 1.375 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002503/0.003874, allocations: 171.5 kB / 379.7 MB, free: 1.207 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001571/0.004031, allocations: 175.7 kB / 379.8 MB, free: 1.035 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.565e-05/0.004107, allocations: 12 kB / 379.8 MB, free: 1.023 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.374e-05/0.0042, allocations: 123.8 kB / 380 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001655/0.004366, allocations: 239.5 kB / 380.2 MB, free: 0.668 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.004381, allocations: 8 kB / 380.2 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.902e-05/0.00444, allocations: 39.92 kB / 380.2 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.996e-05/0.00451, allocations: 87.64 kB / 380.3 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.91e-05/0.004539, allocations: 31.75 kB / 380.4 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001744/0.004714, allocations: 199.2 kB / 380.6 MB, free: 316 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.004715, allocations: 0 / 380.6 MB, free: 316 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.004717, allocations: 3.984 kB / 380.6 MB, free: 312 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.004721, allocations: 0 / 380.6 MB, free: 312 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004566/0.005177, allocations: 0.7047 MB / 381.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.005208, allocations: 8.031 kB / 381.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.218e-05/0.00525, allocations: 52.66 kB / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.0054, allocations: 244.8 kB / 381.6 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.736e-06/0.005408, allocations: 8.375 kB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.005422, allocations: 384 / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.09e-05/0.005503, allocations: 54.95 kB / 381.6 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.005511, allocations: 4.188 kB / 381.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-06/0.005518, allocations: 8.125 kB / 381.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.005523, allocations: 0 / 381.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.195e-05/0.005545, allocations: 11.92 kB / 381.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002753/0.00582, allocations: 340.3 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.00593, allocations: 43 kB / 382 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.534e-05/0.005945, allocations: 15.75 kB / 382 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.005969, allocations: 7.938 kB / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.005993, allocations: 37.39 kB / 382.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.343e-06/0.005994, allocations: 0 / 382.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003128/0.006307, allocations: 125.2 kB / 382.2 MB, free: 14.53 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.126e-05/0.006328, allocations: 51.41 kB / 382.3 MB, free: 14.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003339/0.006662, allocations: 0.604 MB / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.376e-06/0.00667, allocations: 25.7 kB / 382.9 MB, free: 13.81 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.006802, allocations: 294.8 kB / 383.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/0.006821, allocations: 27.78 kB / 383.2 MB, free: 13.49 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/0.006849, allocations: 23.36 kB / 383.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.006991, allocations: 0.5586 MB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.06e-05/0.007002, allocations: 4 kB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.039e-05/0.007012, allocations: 3.984 kB / 383.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.65e-05/0.007038, allocations: 23.69 kB / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.007039, allocations: 0 / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.219e-05/0.007111, allocations: 97.28 kB / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.458e-06/0.007121, allocations: 4 kB / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.007124, allocations: 4 kB / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.007133, allocations: 0 / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.824e-05/0.007172, allocations: 15.98 kB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.224e-06/0.007174, allocations: 0 / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.459e-05/0.007199, allocations: 11.94 kB / 383.9 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-06/0.007202, allocations: 0 / 383.9 MB, free: 12.72 MB / 362.7 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 6.406e-05/0.007266, allocations: 152.6 kB / 384.1 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.153e-05/0.007298, allocations: 47.66 kB / 384.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/0.007402, allocations: 97.69 kB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.007405, allocations: 4 kB / 384.2 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/0.007407, allocations: 4.062 kB / 384.2 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.007411, allocations: 11.97 kB / 384.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00026/0.007671, allocations: 381.9 kB / 384.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.007672, allocations: 0 / 384.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.634e-05/0.007698, allocations: 15.92 kB / 384.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.0077, allocations: 0 / 384.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.787e-06/0.007704, allocations: 0 / 384.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.007705, allocations: 4 kB / 384.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.007706, allocations: 0 / 384.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.634e-05/0.007802, allocations: 239.6 kB / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.386e-05/0.007826, allocations: 39.67 kB / 384.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.007839, allocations: 4 kB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.876e-05/0.007878, allocations: 11.98 kB / 384.9 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.781e-05/0.007896, allocations: 0 / 384.9 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-06/0.007898, allocations: 0 / 384.9 MB, free: 11.65 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004739/0.008372, allocations: 394.7 kB / 385.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.008372, allocations: 0 / 385.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001756/0.008548, allocations: 24 kB / 385.3 MB, free: 11.25 MB / 362.7 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.0006786/0.009227, allocations: 391.6 kB / 385.7 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.034e-05/0.009287, allocations: 27.67 kB / 385.7 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.009288, allocations: 0 / 385.7 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.94e-05/0.009307, allocations: 23.67 kB / 385.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.009531, allocations: 33.83 kB / 385.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005096/0.01004, allocations: 0.567 MB / 386.4 MB, free: 10.31 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.594e-05/0.01011, allocations: 131.2 kB / 386.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.72e-05/0.01013, allocations: 11.98 kB / 386.5 MB, free: 10.15 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.911e-05/0.01018, allocations: 78.2 kB / 386.6 MB, free: 10.07 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01018, allocations: 0 / 386.6 MB, free: 10.07 MB / 362.7 MB Notification: Performance of Templates: time 0.003331/0.01351, allocations: 1.51 MB / 388.1 MB, free: 8.574 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.784209321718663]