Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.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.001455/0.001455, allocations: 80.31 kB / 22.21 MB, free: 2.285 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.001131/0.001131, allocations: 170.4 kB / 25.61 MB, free: 8.859 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.9399/0.9399, allocations: 177.1 MB / 206 MB, free: 4.504 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.1668/0.1668, allocations: 32.8 MB / 295.4 MB, free: 15.39 MB / 282.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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 377.3 MB, free: 25.58 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.183e-05/2.316e-05, allocations: 2.312 kB / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.002515/0.002538, allocations: 1.697 MB / 379 MB, free: 23.87 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007633/0.003301, allocations: 0.5374 MB / 379.5 MB, free: 23.32 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.272e-05/0.003354, allocations: 0 / 379.5 MB, free: 23.32 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002226/0.003577, allocations: 55.73 kB / 379.6 MB, free: 23.27 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002576/0.003834, allocations: 95.48 kB / 379.7 MB, free: 23.18 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002685/0.004103, allocations: 135.6 kB / 379.8 MB, free: 23.04 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001385/0.004242, allocations: 79.75 kB / 379.9 MB, free: 22.96 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.159e-05/0.004333, allocations: 12.23 kB / 379.9 MB, free: 22.95 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.986e-05/0.004403, allocations: 51.81 kB / 379.9 MB, free: 22.9 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.95e-05/0.004492, allocations: 35.91 kB / 380 MB, free: 22.86 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.004506, allocations: 4 kB / 380 MB, free: 22.86 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.678e-05/0.004603, allocations: 55.91 kB / 380 MB, free: 22.8 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.873e-05/0.004662, allocations: 19.92 kB / 380.1 MB, free: 22.79 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.201e-05/0.004684, allocations: 19.91 kB / 380.1 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001557/0.004839, allocations: 95.59 kB / 380.2 MB, free: 22.67 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.004842, allocations: 0 / 380.2 MB, free: 22.67 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.004843, allocations: 0 / 380.2 MB, free: 22.67 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.004848, allocations: 0 / 380.2 MB, free: 22.67 MB / 314.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.0003253/0.005173, allocations: 440 kB / 380.6 MB, free: 22.21 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.005205, allocations: 15.98 kB / 380.6 MB, free: 22.19 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.64e-05/0.005242, allocations: 12.89 kB / 380.6 MB, free: 22.18 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.005353, allocations: 145 kB / 380.8 MB, free: 22.01 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.005364, allocations: 12.31 kB / 380.8 MB, free: 22 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/0.005381, allocations: 4.375 kB / 380.8 MB, free: 22 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.005483, allocations: 66.69 kB / 380.8 MB, free: 21.92 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.005502, allocations: 3.953 kB / 380.9 MB, free: 21.92 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.00551, allocations: 3.938 kB / 380.9 MB, free: 21.91 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.005515, allocations: 0 / 380.9 MB, free: 21.91 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.938e-05/0.005545, allocations: 15.92 kB / 380.9 MB, free: 21.9 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002251/0.00577, allocations: 272.3 kB / 381.1 MB, free: 21.61 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.005899, allocations: 50.98 kB / 381.2 MB, free: 21.54 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.726e-05/0.005916, allocations: 15.67 kB / 381.2 MB, free: 21.52 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.005931, allocations: 4.031 kB / 381.2 MB, free: 21.52 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.537e-05/0.005946, allocations: 33.39 kB / 381.2 MB, free: 21.48 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.005947, allocations: 0 / 381.2 MB, free: 21.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.000591/0.006538, allocations: 225.4 kB / 381.5 MB, free: 21.25 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.164e-05/0.00656, allocations: 55.41 kB / 381.5 MB, free: 21.18 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.627e-05/0.006646, allocations: 208.6 kB / 381.7 MB, free: 20.96 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.763e-06/0.006653, allocations: 25.7 kB / 381.7 MB, free: 20.93 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.25e-05/0.006686, allocations: 154.8 kB / 381.9 MB, free: 20.78 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.006712, allocations: 35.69 kB / 381.9 MB, free: 20.74 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-05/0.006756, allocations: 31.36 kB / 382 MB, free: 20.7 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.356e-05/0.00684, allocations: 0.5039 MB / 382.5 MB, free: 20.19 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.523e-05/0.006865, allocations: 11.94 kB / 382.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.144e-05/0.006886, allocations: 19.53 kB / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.132e-05/0.006938, allocations: 39.69 kB / 382.5 MB, free: 20.12 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.006939, allocations: 0 / 382.5 MB, free: 20.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001082/0.007047, allocations: 82.19 kB / 382.6 MB, free: 20.03 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.007059, allocations: 4 kB / 382.6 MB, free: 20.03 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.007065, allocations: 4 kB / 382.6 MB, free: 20.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.007076, allocations: 0 / 382.6 MB, free: 20.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.268e-05/0.007159, allocations: 27.86 kB / 382.6 MB, free: 20 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.476e-06/0.007163, allocations: 4 kB / 382.7 MB, free: 19.99 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.401e-05/0.007197, allocations: 19.92 kB / 382.7 MB, free: 19.97 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.007204, allocations: 3.938 kB / 382.7 MB, free: 19.97 MB / 314.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 5.097e-05/0.007255, allocations: 160.6 kB / 382.8 MB, free: 19.8 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.131e-05/0.007287, allocations: 15.91 kB / 382.8 MB, free: 19.79 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001569/0.007444, allocations: 102.4 kB / 382.9 MB, free: 19.68 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.007446, allocations: 0 / 382.9 MB, free: 19.68 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.007448, allocations: 0 / 382.9 MB, free: 19.68 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.007451, allocations: 0 / 382.9 MB, free: 19.68 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003301/0.007781, allocations: 385.2 kB / 383.3 MB, free: 19.26 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.007784, allocations: 0 / 383.3 MB, free: 19.26 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.642e-05/0.00785, allocations: 27.92 kB / 383.3 MB, free: 19.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.007853, allocations: 4.062 kB / 383.4 MB, free: 19.23 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.007861, allocations: 4 kB / 383.4 MB, free: 19.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.007863, allocations: 3.938 kB / 383.4 MB, free: 19.22 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.007865, allocations: 3.938 kB / 383.4 MB, free: 19.22 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.007991, allocations: 255.2 kB / 383.6 MB, free: 18.94 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.2e-05/0.008003, allocations: 11.91 kB / 383.6 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.008018, allocations: 4 kB / 383.6 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.033e-05/0.008078, allocations: 7.984 kB / 383.6 MB, free: 18.92 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.168e-05/0.00811, allocations: 11.92 kB / 383.6 MB, free: 18.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.008117, allocations: 11.98 kB / 383.7 MB, free: 18.89 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.422e-05/0.008162, allocations: 158.4 kB / 383.8 MB, free: 18.74 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008162, allocations: 0 / 383.8 MB, free: 18.74 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002446/0.008406, allocations: 23.94 kB / 383.8 MB, free: 18.72 MB / 314.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.001019/0.009425, allocations: 439.7 kB / 384.3 MB, free: 18.46 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001177/0.009543, allocations: 51.59 kB / 384.3 MB, free: 18.4 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.009544, allocations: 0 / 384.3 MB, free: 18.4 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.675e-05/0.009581, allocations: 39.61 kB / 384.4 MB, free: 18.36 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.009855, allocations: 20.11 kB / 384.4 MB, free: 18.34 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003432/0.0102, allocations: 253.9 kB / 384.6 MB, free: 18.06 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.498e-05/0.01023, allocations: 71.2 kB / 384.7 MB, free: 17.97 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.647e-05/0.0103, allocations: 20.47 kB / 384.7 MB, free: 17.95 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.579e-05/0.01036, allocations: 86.19 kB / 384.8 MB, free: 17.86 MB / 314.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01036, allocations: 0 / 384.8 MB, free: 17.86 MB / 314.7 MB Notification: Performance of Templates: time 0.003652/0.01401, allocations: 1.75 MB / 386.5 MB, free: 16.13 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.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.3386745350435376]