Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.001133/0.001133, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.001086/0.001086, allocations: 165 kB / 24.56 MB, free: 12 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.9999/0.9999, allocations: 177.1 MB / 205 MB, free: 5.633 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.2608/0.2608, allocations: 34.25 MB / 295.7 MB, free: 0.7812 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.51e-07/9.51e-07, allocations: 0 / 378.1 MB, free: 2.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.478e-06/1.043e-05, allocations: 2.312 kB / 378.1 MB, free: 2.633 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.001866/0.001877, allocations: 1.701 MB / 379.8 MB, free: 0.918 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007075/0.002584, allocations: 0.5764 MB / 380.4 MB, free: 344 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.743e-05/0.002622, allocations: 3.938 kB / 380.4 MB, free: 340 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000346/0.002968, allocations: 451.2 kB / 380.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002777/0.003245, allocations: 307.1 kB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002535/0.003499, allocations: 171.5 kB / 381.3 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003287/0.003828, allocations: 179.6 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.646e-05/0.003884, allocations: 16.23 kB / 381.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.78e-05/0.003972, allocations: 123.8 kB / 381.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001535/0.004125, allocations: 247.5 kB / 381.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.004139, allocations: 4 kB / 381.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.296e-05/0.004212, allocations: 51.91 kB / 381.9 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.234e-05/0.004275, allocations: 87.7 kB / 382 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.117e-05/0.004306, allocations: 39.69 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001846/0.00449, allocations: 215.1 kB / 382.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.654e-06/0.004492, allocations: 4 kB / 382.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.004493, allocations: 0 / 382.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.004496, allocations: 0 / 382.2 MB, free: 14.47 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.0004181/0.004914, allocations: 0.7086 MB / 382.9 MB, free: 13.72 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.472e-05/0.004939, allocations: 8.031 kB / 382.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.123e-05/0.00498, allocations: 44.66 kB / 383 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.005121, allocations: 252.8 kB / 383.2 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.352e-06/0.005128, allocations: 4.375 kB / 383.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.005141, allocations: 4.375 kB / 383.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.85e-05/0.00522, allocations: 62.89 kB / 383.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.941e-06/0.005226, allocations: 4.188 kB / 383.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-06/0.005233, allocations: 4.125 kB / 383.3 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.005237, allocations: 0 / 383.3 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.821e-05/0.005265, allocations: 15.98 kB / 383.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003404/0.005605, allocations: 439.6 kB / 383.7 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.127e-05/0.005657, allocations: 46.98 kB / 383.8 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.772e-05/0.005674, allocations: 11.77 kB / 383.8 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.005686, allocations: 4 kB / 383.8 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/0.005704, allocations: 41.42 kB / 383.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 5.51e-07/0.005705, allocations: 0 / 383.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004139/0.006118, allocations: 264.5 kB / 384.1 MB, free: 12.44 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.13e-05/0.00614, allocations: 51.41 kB / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003797/0.006519, allocations: 0.6316 MB / 384.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.006531, allocations: 29.7 kB / 384.8 MB, free: 11.69 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004235/0.006955, allocations: 278.8 kB / 385.1 MB, free: 11.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.477e-05/0.00698, allocations: 31.73 kB / 385.1 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.115e-05/0.007011, allocations: 23.38 kB / 385.1 MB, free: 11.35 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.007161, allocations: 0.5586 MB / 385.7 MB, free: 10.78 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.894e-05/0.00718, allocations: 11.98 kB / 385.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.769e-05/0.007197, allocations: 11.98 kB / 385.7 MB, free: 10.76 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.338e-05/0.007241, allocations: 35.67 kB / 385.8 MB, free: 10.72 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.007243, allocations: 7.938 kB / 385.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001092/0.007352, allocations: 105.4 kB / 385.9 MB, free: 10.6 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.007365, allocations: 9.719 kB / 385.9 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.035e-06/0.007368, allocations: 0 / 385.9 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.544e-06/0.007375, allocations: 3.938 kB / 385.9 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.824e-05/0.007443, allocations: 15.98 kB / 385.9 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.855e-06/0.007446, allocations: 0 / 385.9 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.457e-05/0.007471, allocations: 4 kB / 385.9 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.007476, allocations: 8 kB / 385.9 MB, free: 10.56 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 (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 7.067e-05/0.007547, allocations: 164.5 kB / 386.1 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.381e-05/0.007581, allocations: 47.67 kB / 386.1 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001327/0.007713, allocations: 113.5 kB / 386.2 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.007716, allocations: 4 kB / 386.2 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.007717, allocations: 0 / 386.2 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.00772, allocations: 0 / 386.2 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003498/0.00807, allocations: 0.5047 MB / 386.7 MB, free: 9.668 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.008071, allocations: 4.031 kB / 386.7 MB, free: 9.664 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.447e-05/0.008105, allocations: 19.98 kB / 386.8 MB, free: 9.645 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.008107, allocations: 0 / 386.8 MB, free: 9.645 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.008113, allocations: 4 kB / 386.8 MB, free: 9.641 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.008116, allocations: 3.938 kB / 386.8 MB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.008118, allocations: 4.406 kB / 386.8 MB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001767/0.008295, allocations: 271.3 kB / 387 MB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.865e-05/0.008333, allocations: 39.7 kB / 387.1 MB, free: 9.305 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/0.008356, allocations: 4 kB / 387.1 MB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.008458, allocations: 0 / 387.1 MB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.832e-05/0.008486, allocations: 15.92 kB / 387.1 MB, free: 9.285 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.008493, allocations: 4 kB / 387.1 MB, free: 9.281 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002559/0.008749, allocations: 430.8 kB / 387.5 MB, free: 8.863 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008749, allocations: 0 / 387.5 MB, free: 8.863 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001599/0.008909, allocations: 28 kB / 387.5 MB, free: 8.836 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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 Backend phase and start with SimCode phase: time 0.0009826/0.009892, allocations: 432.5 kB / 388 MB, free: 8.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001613/0.01005, allocations: 43.61 kB / 388 MB, free: 8.523 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.01005, allocations: 0 / 388 MB, free: 8.523 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.419e-05/0.01009, allocations: 39.61 kB / 388 MB, free: 8.48 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.01037, allocations: 29.58 kB / 388.1 MB, free: 8.457 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007018/0.01107, allocations: 0.6119 MB / 388.7 MB, free: 7.812 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.017e-05/0.01115, allocations: 127.2 kB / 388.8 MB, free: 7.668 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.25e-05/0.0112, allocations: 17.02 kB / 388.8 MB, free: 7.652 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.563e-05/0.01124, allocations: 16.5 kB / 388.8 MB, free: 7.637 MB / 362.7 MB Notification: Performance of SimCode: time 1.422e-06/0.01124, allocations: 4 kB / 388.8 MB, free: 7.633 MB / 362.7 MB Notification: Performance of Templates: time 0.00497/0.01621, allocations: 1.749 MB / 390.6 MB, free: 5.895 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.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.1288360520265996]