Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.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.001363/0.001363, allocations: 79.75 kB / 21.19 MB, free: 3.375 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.001482/0.001482, allocations: 165 kB / 24.56 MB, free: 8 kB / 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.9613/0.9613, allocations: 177.1 MB / 205 MB, free: 5.621 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.2839/0.2839, allocations: 32.81 MB / 294.3 MB, free: 1.285 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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.[0-9,]+.|combiTable2D1DT.y.[0-9,]+.|clock1.y|combiTable1D.y.[0-9,]+.|combiTable2D.y.[0-9,]+.|combiTable2DT.y.[0-9,]+.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.[0-9,]+.|combiTable2D1DT.y.[0-9,]+.|clock1.y|combiTable1D.y.[0-9,]+.|combiTable2D.y.[0-9,]+.|combiTable2DT.y.[0-9,]+.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 376 MB, free: 4.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.985e-05/2.13e-05, allocations: 2.312 kB / 376 MB, free: 4.648 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.002658/0.002679, allocations: 2.05 MB / 378.1 MB, free: 2.582 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001389/0.004068, allocations: 1.109 MB / 379.2 MB, free: 1.465 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.00418, allocations: 3.938 kB / 379.2 MB, free: 1.461 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004071/0.004588, allocations: 270.9 kB / 379.5 MB, free: 1.195 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003882/0.004976, allocations: 270.9 kB / 379.7 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007884/0.005764, allocations: 0.6236 MB / 380.3 MB, free: 312 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003256/0.00609, allocations: 366.9 kB / 380.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.006247, allocations: 56.88 kB / 380.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001531/0.0064, allocations: 179.5 kB / 380.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000189/0.006589, allocations: 207.5 kB / 381.1 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.522e-05/0.006614, allocations: 12 kB / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.006728, allocations: 75.78 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.006838, allocations: 111.6 kB / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.502e-05/0.006893, allocations: 55.72 kB / 381.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000281/0.007174, allocations: 262.8 kB / 381.6 MB, free: 15 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.007178, allocations: 0 / 381.6 MB, free: 15 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.007179, allocations: 0 / 381.6 MB, free: 15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.007184, allocations: 0 / 381.6 MB, free: 15 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005871/0.007771, allocations: 0.6971 MB / 382.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.007805, allocations: 12.03 kB / 382.4 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.947e-05/0.007875, allocations: 56.59 kB / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/0.008121, allocations: 266.7 kB / 382.7 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.008133, allocations: 12.38 kB / 382.7 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.292e-05/0.008166, allocations: 12.38 kB / 382.7 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.008329, allocations: 106.8 kB / 382.8 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.008343, allocations: 4.188 kB / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.008356, allocations: 4.125 kB / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.008366, allocations: 4 kB / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.238e-05/0.008438, allocations: 44.55 kB / 382.9 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004669/0.008905, allocations: 487.3 kB / 383.3 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.009012, allocations: 74.97 kB / 383.4 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.521e-05/0.009048, allocations: 27.67 kB / 383.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.009073, allocations: 8 kB / 383.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.009094, allocations: 33.39 kB / 383.5 MB, free: 13.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.009095, allocations: 0 / 383.5 MB, free: 13.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005641/0.009659, allocations: 328.7 kB / 383.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.009689, allocations: 59.34 kB / 383.8 MB, free: 12.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003451/0.01003, allocations: 494.7 kB / 384.3 MB, free: 12.15 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.01005, allocations: 29.7 kB / 384.4 MB, free: 12.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.01018, allocations: 263.2 kB / 384.6 MB, free: 11.85 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.85e-05/0.01022, allocations: 63.47 kB / 384.7 MB, free: 11.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-05/0.01027, allocations: 39.36 kB / 384.7 MB, free: 11.74 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.01042, allocations: 0.5274 MB / 385.2 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.688e-05/0.01046, allocations: 35.89 kB / 385.3 MB, free: 11.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.179e-05/0.0105, allocations: 31.97 kB / 385.3 MB, free: 11.13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.186e-05/0.0106, allocations: 73.56 kB / 385.4 MB, free: 11.06 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.0106, allocations: 0 / 385.4 MB, free: 11.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001688/0.01077, allocations: 165.2 kB / 385.5 MB, free: 10.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.01078, allocations: 9.969 kB / 385.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.01078, allocations: 0 / 385.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.0108, allocations: 4 kB / 385.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.01091, allocations: 31.98 kB / 385.6 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.01092, allocations: 3.938 kB / 385.6 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.375e-05/0.01095, allocations: 12 kB / 385.6 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-06/0.01096, allocations: 7.984 kB / 385.6 MB, free: 10.82 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 (17): * Single equations (assignments): 17 * 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 8.123e-05/0.01104, allocations: 164.5 kB / 385.8 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.506e-05/0.01108, allocations: 47.72 kB / 385.8 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000241/0.01133, allocations: 189.6 kB / 386 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.01133, allocations: 0 / 386 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.01133, allocations: 0 / 386 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.01133, allocations: 0 / 386 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000461/0.0118, allocations: 0.5713 MB / 386.6 MB, free: 9.797 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.0118, allocations: 4 kB / 386.6 MB, free: 9.793 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.279e-05/0.01186, allocations: 31.92 kB / 386.6 MB, free: 9.762 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.01186, allocations: 4 kB / 386.6 MB, free: 9.758 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-06/0.01187, allocations: 4 kB / 386.6 MB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.01188, allocations: 0 / 386.6 MB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.01188, allocations: 0 / 386.6 MB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002019/0.01208, allocations: 322 kB / 386.9 MB, free: 9.422 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.411e-05/0.0121, allocations: 31.72 kB / 387 MB, free: 9.391 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.01212, allocations: 4 kB / 387 MB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.431e-05/0.01217, allocations: 7.984 kB / 387 MB, free: 9.379 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.875e-05/0.01221, allocations: 11.98 kB / 387 MB, free: 9.367 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.01221, allocations: 12 kB / 387 MB, free: 9.355 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002049/0.01242, allocations: 327 kB / 387.3 MB, free: 9.039 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01242, allocations: 3.938 kB / 387.3 MB, free: 9.035 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000199/0.01262, allocations: 51.92 kB / 387.4 MB, free: 8.984 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 (17): * Single equations (assignments): 17 * 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.001582/0.0142, allocations: 0.6513 MB / 388 MB, free: 8.617 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002008/0.0144, allocations: 102.5 kB / 388.1 MB, free: 8.516 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.0144, allocations: 0 / 388.1 MB, free: 8.516 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.865e-05/0.01448, allocations: 59.59 kB / 388.2 MB, free: 8.453 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004371/0.01492, allocations: 96.42 kB / 388.3 MB, free: 8.363 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000804/0.01572, allocations: 0.5938 MB / 388.9 MB, free: 7.738 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001022/0.01582, allocations: 120.2 kB / 389 MB, free: 7.602 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001076/0.01593, allocations: 49.91 kB / 389 MB, free: 7.555 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.282e-05/0.01599, allocations: 32.48 kB / 389.1 MB, free: 7.523 MB / 362.7 MB Notification: Performance of SimCode: time 6.82e-07/0.01599, allocations: 4 kB / 389.1 MB, free: 7.52 MB / 362.7 MB Notification: Performance of Templates: time 0.006471/0.02246, allocations: 3.456 MB / 392.5 MB, free: 4.105 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.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: 3.319832408800721]