Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.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.002131/0.002131, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002609/0.002609, allocations: 161.7 kB / 24.27 MB, free: 172 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.596/1.596, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.3531/0.3531, allocations: 34.27 MB / 295.3 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.515e-06/2.515e-06, allocations: 0 / 377.3 MB, free: 2.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0002073/0.0002098, allocations: 2.312 kB / 377.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.003947/0.004156, allocations: 1.66 MB / 379 MB, free: 1.277 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00121/0.005366, allocations: 0.7793 MB / 379.7 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.765e-05/0.005414, allocations: 0 / 379.7 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002972/0.005711, allocations: 39.7 kB / 379.8 MB, free: 468 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002731/0.005984, allocations: 35.83 kB / 379.8 MB, free: 432 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.43e-06/0.005989, allocations: 0 / 379.8 MB, free: 432 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001807/0.00617, allocations: 39.83 kB / 379.9 MB, free: 392 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.945e-05/0.00621, allocations: 8 kB / 379.9 MB, free: 384 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.265e-05/0.006252, allocations: 7.938 kB / 379.9 MB, free: 376 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.369e-05/0.006326, allocations: 15.97 kB / 379.9 MB, free: 360 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.006339, allocations: 4 kB / 379.9 MB, free: 356 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.233e-05/0.006391, allocations: 12 kB / 379.9 MB, free: 344 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.326e-05/0.006444, allocations: 15.92 kB / 379.9 MB, free: 328 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.17e-05/0.006476, allocations: 11.94 kB / 379.9 MB, free: 316 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001665/0.006643, allocations: 67.73 kB / 380 MB, free: 248 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.006646, allocations: 0 / 380 MB, free: 248 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.006647, allocations: 0 / 380 MB, free: 248 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.006652, allocations: 0 / 380 MB, free: 248 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004426/0.007094, allocations: 290 kB / 380.3 MB, free: 15.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.007134, allocations: 8.031 kB / 380.3 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.414e-05/0.007189, allocations: 12.89 kB / 380.3 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/0.007355, allocations: 129.6 kB / 380.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.007368, allocations: 384 / 380.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.007379, allocations: 4.375 kB / 380.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002129/0.007592, allocations: 115.4 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.007603, allocations: 4.125 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.007616, allocations: 4.375 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-05/0.007666, allocations: 24.34 kB / 380.6 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.953e-05/0.007755, allocations: 47.84 kB / 380.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007734/0.008528, allocations: 0.8318 MB / 381.5 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.008646, allocations: 169.1 kB / 381.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.221e-05/0.008698, allocations: 80.14 kB / 381.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.435e-05/0.008743, allocations: 83.31 kB / 381.8 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.517e-05/0.008828, allocations: 109.8 kB / 381.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.008829, allocations: 0 / 381.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 9.052e-05/0.008919, allocations: 37.59 kB / 381.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.333e-05/0.009003, allocations: 126.7 kB / 382 MB, free: 14.02 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002263/0.009229, allocations: 195.4 kB / 382.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.009245, allocations: 25.7 kB / 382.3 MB, free: 13.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.009366, allocations: 155.5 kB / 382.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.352e-06/0.009373, allocations: 4 kB / 382.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.461e-05/0.009437, allocations: 37.7 kB / 382.5 MB, free: 13.58 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.009611, allocations: 322.8 kB / 382.8 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.091e-05/0.009672, allocations: 39.92 kB / 382.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001811/0.009853, allocations: 159.7 kB / 383 MB, free: 13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002484/0.0101, allocations: 196.9 kB / 383.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.01011, allocations: 4 kB / 383.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003561/0.01046, allocations: 205.7 kB / 383.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.01048, allocations: 8 kB / 383.4 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.01049, allocations: 12.02 kB / 383.4 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.6e-05/0.01052, allocations: 7.938 kB / 383.4 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.01065, allocations: 39.92 kB / 383.4 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.729e-05/0.01067, allocations: 4 kB / 383.4 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.01078, allocations: 23.84 kB / 383.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.885e-05/0.0108, allocations: 12 kB / 383.5 MB, free: 12.43 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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 0.0001882/0.01099, allocations: 213 kB / 383.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.0111, allocations: 116.9 kB / 383.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.0112, allocations: 124.7 kB / 383.9 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001247/0.01133, allocations: 184.2 kB / 384.1 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001194/0.01145, allocations: 184.2 kB / 384.3 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003219/0.01177, allocations: 180.3 kB / 384.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003418/0.01211, allocations: 380.8 kB / 384.8 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-05/0.01219, allocations: 101 kB / 384.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.448e-05/0.01227, allocations: 105 kB / 385 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001188/0.01238, allocations: 184.2 kB / 385.2 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001128/0.0125, allocations: 176.3 kB / 385.4 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001164/0.01261, allocations: 184.2 kB / 385.5 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001374/0.01275, allocations: 184.2 kB / 385.7 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002832/0.01303, allocations: 311.7 kB / 386 MB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.574e-05/0.01313, allocations: 112.9 kB / 386.1 MB, free: 9.598 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001632/0.01329, allocations: 184.2 kB / 386.3 MB, free: 9.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.01342, allocations: 105 kB / 386.4 MB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/0.01355, allocations: 184.2 kB / 386.6 MB, free: 9.113 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.958e-05/0.01363, allocations: 104.9 kB / 386.7 MB, free: 9.004 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001644/0.0138, allocations: 135.4 kB / 386.8 MB, free: 8.871 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0138, allocations: 0 / 386.8 MB, free: 8.871 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000344/0.01414, allocations: 12 kB / 386.9 MB, free: 8.859 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 (0): * Single equations (assignments): 0 * 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.00101/0.01515, allocations: 285 kB / 387.1 MB, free: 8.629 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002219/0.01537, allocations: 75.78 kB / 387.2 MB, free: 8.555 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.01538, allocations: 0 / 387.2 MB, free: 8.555 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.855e-06/0.01538, allocations: 0 / 387.2 MB, free: 8.555 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005066/0.01589, allocations: 471.6 kB / 387.7 MB, free: 8.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004771/0.01636, allocations: 252.9 kB / 387.9 MB, free: 7.816 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001257/0.01649, allocations: 91.66 kB / 388 MB, free: 7.703 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000222/0.01671, allocations: 49.08 kB / 388.1 MB, free: 7.656 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.649e-05/0.01676, allocations: 16.5 kB / 388.1 MB, free: 7.637 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01676, allocations: 4 kB / 388.1 MB, free: 7.633 MB / 362.7 MB Notification: Performance of Templates: time 0.003517/0.02027, allocations: 0.7293 MB / 388.8 MB, free: 6.914 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.917245259974152]