Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.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.0009581/0.0009581, allocations: 81.95 kB / 21.42 MB, free: 3.074 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.001583/0.001583, allocations: 169.9 kB / 24.82 MB, free: 8.773 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.972/0.972, allocations: 177.1 MB / 205.3 MB, free: 5.527 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.2238/0.2238, allocations: 32.8 MB / 294.6 MB, free: 1.184 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.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 376.5 MB, free: 4.391 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.774e-05/1.925e-05, allocations: 6.312 kB / 376.5 MB, free: 4.383 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.002024/0.002043, allocations: 1.693 MB / 378.2 MB, free: 2.68 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000645/0.002688, allocations: 0.5414 MB / 378.7 MB, free: 2.133 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.742e-05/0.002735, allocations: 3.938 kB / 378.7 MB, free: 2.129 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004099/0.003145, allocations: 455 kB / 379.2 MB, free: 1.684 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003302/0.003475, allocations: 303.1 kB / 379.5 MB, free: 1.387 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001931/0.003669, allocations: 119.7 kB / 379.6 MB, free: 1.27 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.003826, allocations: 171.6 kB / 379.8 MB, free: 1.102 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.631e-05/0.003902, allocations: 11.98 kB / 379.8 MB, free: 1.09 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.004006, allocations: 127.7 kB / 379.9 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001731/0.004179, allocations: 247.6 kB / 380.1 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.004194, allocations: 4 kB / 380.1 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.078e-05/0.004255, allocations: 39.8 kB / 380.2 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.15e-05/0.004337, allocations: 83.72 kB / 380.3 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.883e-05/0.004365, allocations: 39.73 kB / 380.3 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001758/0.004541, allocations: 195.2 kB / 380.5 MB, free: 376 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.483e-06/0.004543, allocations: 0 / 380.5 MB, free: 376 kB / 346.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.004543, allocations: 0 / 380.5 MB, free: 376 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.004547, allocations: 0 / 380.5 MB, free: 376 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.0004819/0.005029, allocations: 0.7124 MB / 381.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.005061, allocations: 12.03 kB / 381.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.209e-05/0.005103, allocations: 44.66 kB / 381.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.005256, allocations: 244.9 kB / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.354e-06/0.005263, allocations: 384 / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.005279, allocations: 4.375 kB / 381.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.042e-05/0.005369, allocations: 62.92 kB / 381.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.005377, allocations: 192 / 381.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/0.005384, allocations: 4.125 kB / 381.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.005389, allocations: 4 kB / 381.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.18e-05/0.005411, allocations: 15.92 kB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002623/0.005673, allocations: 336.3 kB / 381.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.096e-05/0.005724, allocations: 39.05 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.51e-05/0.005739, allocations: 11.69 kB / 382 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.005758, allocations: 4 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.005777, allocations: 41.41 kB / 382 MB, free: 14.72 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.41e-07/0.005778, allocations: 0 / 382 MB, free: 14.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002853/0.006063, allocations: 157.1 kB / 382.2 MB, free: 14.56 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.106e-05/0.006084, allocations: 55.41 kB / 382.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003375/0.006422, allocations: 0.604 MB / 382.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.006432, allocations: 25.7 kB / 382.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.006563, allocations: 294.7 kB / 383.1 MB, free: 13.55 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.076e-05/0.006584, allocations: 27.73 kB / 383.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.019e-05/0.006614, allocations: 27.38 kB / 383.2 MB, free: 13.49 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.006762, allocations: 0.5586 MB / 383.7 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.512e-05/0.006777, allocations: 4 kB / 383.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.435e-05/0.006791, allocations: 7.984 kB / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.453e-05/0.006826, allocations: 27.92 kB / 383.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.006827, allocations: 0 / 383.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.285e-05/0.00691, allocations: 113.2 kB / 383.9 MB, free: 12.76 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.006921, allocations: 9.875 kB / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.006925, allocations: 0 / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.006934, allocations: 0 / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.125e-05/0.006995, allocations: 15.98 kB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.006998, allocations: 0 / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.904e-05/0.007027, allocations: 7.984 kB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.007033, allocations: 11.94 kB / 383.9 MB, free: 12.71 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 (7): * Single equations (assignments): 7 * 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.969e-05/0.007103, allocations: 156.6 kB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.153e-05/0.007134, allocations: 47.66 kB / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001211/0.007255, allocations: 109.5 kB / 384.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.007257, allocations: 0 / 384.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.007258, allocations: 0 / 384.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.007261, allocations: 0 / 384.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000267/0.007528, allocations: 398.2 kB / 384.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.007529, allocations: 0 / 384.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.849e-05/0.007568, allocations: 23.92 kB / 384.7 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.007569, allocations: 0 / 384.7 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-06/0.007574, allocations: 4 kB / 384.7 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.007576, allocations: 0 / 384.7 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.007577, allocations: 7.984 kB / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001161/0.007694, allocations: 255.5 kB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.205e-05/0.007716, allocations: 35.72 kB / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.007728, allocations: 0 / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.294e-05/0.007771, allocations: 8 kB / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.497e-05/0.007796, allocations: 7.984 kB / 385 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-06/0.007799, allocations: 0 / 385 MB, free: 11.61 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001907/0.00799, allocations: 394.7 kB / 385.4 MB, free: 11.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.00799, allocations: 0 / 385.4 MB, free: 11.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001596/0.00815, allocations: 24 kB / 385.4 MB, free: 11.2 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 (7): * Single equations (assignments): 7 * 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.0007139/0.008864, allocations: 378.9 kB / 385.7 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.771e-05/0.008941, allocations: 35.66 kB / 385.8 MB, free: 10.92 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.92e-07/0.008942, allocations: 0 / 385.8 MB, free: 10.92 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.512e-05/0.008967, allocations: 39.55 kB / 385.8 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/0.009186, allocations: 45.39 kB / 385.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005276/0.009714, allocations: 0.5771 MB / 386.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.923e-05/0.009783, allocations: 119.2 kB / 386.6 MB, free: 10.1 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.089e-05/0.009814, allocations: 8 kB / 386.6 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.49e-05/0.009869, allocations: 82.19 kB / 386.6 MB, free: 10.01 MB / 362.7 MB Notification: Performance of SimCode: time 4.91e-07/0.009869, allocations: 4 kB / 386.7 MB, free: 10 MB / 362.7 MB Notification: Performance of Templates: time 0.003474/0.01334, allocations: 1.631 MB / 388.3 MB, free: 8.383 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.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.851341698784381]