Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.0009376/0.0009376, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.000962/0.000962, allocations: 161 kB / 24.56 MB, free: 16 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 1.003/1.003, allocations: 177.1 MB / 205 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] 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.2698/0.2698, allocations: 34.25 MB / 295.7 MB, free: 0.7695 MB / 266.7 MB " [Timeout remaining time 180] 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.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 378.1 MB, free: 2.633 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.844e-05/3.034e-05, allocations: 5.688 kB / 378.1 MB, free: 2.629 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.002417/0.002448, allocations: 1.717 MB / 379.8 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007864/0.003234, allocations: 0.5803 MB / 380.4 MB, free: 320 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.086e-05/0.003295, allocations: 0 / 380.4 MB, free: 320 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004992/0.003794, allocations: 467 kB / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000373/0.004167, allocations: 295.1 kB / 381.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003143/0.004481, allocations: 179.5 kB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001987/0.00468, allocations: 187.6 kB / 381.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.004783, allocations: 8.234 kB / 381.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.004899, allocations: 127.8 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001877/0.005086, allocations: 247.5 kB / 381.8 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.005107, allocations: 4 kB / 381.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.838e-05/0.005196, allocations: 51.91 kB / 381.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.496e-05/0.005281, allocations: 91.7 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.244e-05/0.005323, allocations: 39.73 kB / 382 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002233/0.005547, allocations: 219.1 kB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.005549, allocations: 0 / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.00555, allocations: 3.938 kB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.005556, allocations: 0 / 382.2 MB, free: 14.43 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006222/0.006178, allocations: 0.7048 MB / 382.9 MB, free: 13.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.006214, allocations: 8.031 kB / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.712e-05/0.006271, allocations: 48.61 kB / 383 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001858/0.006457, allocations: 256.8 kB / 383.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.006467, allocations: 8.375 kB / 383.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/0.006493, allocations: 4.375 kB / 383.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.006623, allocations: 70.86 kB / 383.3 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.006633, allocations: 4.188 kB / 383.3 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.006643, allocations: 4.125 kB / 383.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.00665, allocations: 0 / 383.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.02e-05/0.00669, allocations: 19.97 kB / 383.4 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004087/0.007099, allocations: 439.6 kB / 383.8 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.007271, allocations: 50.98 kB / 383.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.914e-05/0.0073, allocations: 23.67 kB / 383.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.00732, allocations: 0 / 383.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/0.007339, allocations: 33.39 kB / 383.9 MB, free: 12.64 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.00734, allocations: 0 / 383.9 MB, free: 12.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006327/0.007973, allocations: 329.1 kB / 384.2 MB, free: 12.31 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/0.008, allocations: 55.41 kB / 384.3 MB, free: 12.24 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003965/0.008396, allocations: 0.6393 MB / 384.9 MB, free: 11.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.008409, allocations: 25.7 kB / 384.9 MB, free: 11.55 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.008544, allocations: 290.8 kB / 385.2 MB, free: 11.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.857e-05/0.008572, allocations: 35.69 kB / 385.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-05/0.00861, allocations: 31.38 kB / 385.3 MB, free: 11.19 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.008759, allocations: 0.5624 MB / 385.8 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.843e-05/0.008797, allocations: 12 kB / 385.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.64e-05/0.008823, allocations: 15.98 kB / 385.9 MB, free: 10.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002383/0.009062, allocations: 51.61 kB / 385.9 MB, free: 10.54 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.009063, allocations: 0 / 385.9 MB, free: 10.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001419/0.009205, allocations: 133.3 kB / 386.1 MB, free: 10.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.009219, allocations: 8 kB / 386.1 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.009225, allocations: 0 / 386.1 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.009244, allocations: 0 / 386.1 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.907e-05/0.009313, allocations: 19.98 kB / 386.1 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.009319, allocations: 4 kB / 386.1 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.414e-05/0.009353, allocations: 7.984 kB / 386.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.00936, allocations: 0 / 386.1 MB, free: 10.36 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 (11): * Single equations (assignments): 11 * 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.831e-05/0.009448, allocations: 168.5 kB / 386.3 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.23e-05/0.009491, allocations: 47.72 kB / 386.3 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001924/0.009683, allocations: 133.5 kB / 386.4 MB, free: 9.996 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.009686, allocations: 0 / 386.4 MB, free: 9.996 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.009689, allocations: 4 kB / 386.4 MB, free: 9.992 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.009692, allocations: 0 / 386.4 MB, free: 9.992 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004482/0.01014, allocations: 0.5551 MB / 387 MB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.01014, allocations: 0 / 387 MB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.458e-05/0.0102, allocations: 23.98 kB / 387 MB, free: 9.363 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.0102, allocations: 3.938 kB / 387 MB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.946e-06/0.01021, allocations: 4 kB / 387 MB, free: 9.355 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.01021, allocations: 8.188 kB / 387 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.01021, allocations: 4 kB / 387 MB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/0.01038, allocations: 287.6 kB / 387.3 MB, free: 9.035 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.745e-05/0.01041, allocations: 39.67 kB / 387.4 MB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.01043, allocations: 4 kB / 387.4 MB, free: 8.992 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.006e-05/0.01048, allocations: 11.92 kB / 387.4 MB, free: 8.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.03e-05/0.01052, allocations: 15.92 kB / 387.4 MB, free: 8.965 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.01052, allocations: 4 kB / 387.4 MB, free: 8.961 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002533/0.01078, allocations: 426.8 kB / 387.8 MB, free: 8.547 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01078, allocations: 0 / 387.8 MB, free: 8.547 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001952/0.01097, allocations: 39.94 kB / 387.8 MB, free: 8.508 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0009612/0.01193, allocations: 434.5 kB / 388.3 MB, free: 8.238 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000131/0.01207, allocations: 63.59 kB / 388.3 MB, free: 8.172 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01207, allocations: 0 / 388.3 MB, free: 8.172 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.254e-05/0.01211, allocations: 39.61 kB / 388.4 MB, free: 8.129 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.01236, allocations: 30.3 kB / 388.4 MB, free: 8.102 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006796/0.01304, allocations: 0.6505 MB / 389.1 MB, free: 7.414 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.529e-05/0.01311, allocations: 127.2 kB / 389.2 MB, free: 7.27 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.83e-05/0.01317, allocations: 28.45 kB / 389.2 MB, free: 7.242 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.568e-05/0.01321, allocations: 16.5 kB / 389.2 MB, free: 7.227 MB / 362.7 MB Notification: Performance of SimCode: time 7.62e-07/0.01321, allocations: 0 / 389.2 MB, free: 7.227 MB / 362.7 MB Notification: Performance of Templates: time 0.004409/0.01762, allocations: 1.842 MB / 391.1 MB, free: 5.398 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.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.2788302027620375]