Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.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.001407/0.001407, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.001198/0.001198, allocations: 172.4 kB / 25.61 MB, free: 8.902 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 1.026/1.026, allocations: 177.1 MB / 206 MB, free: 4.512 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.1484/0.1484, allocations: 32.8 MB / 295.4 MB, free: 15.48 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.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.267e-05/3.456e-05, allocations: 6.141 kB / 377.3 MB, free: 25.58 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.002134/0.002168, allocations: 1.677 MB / 379 MB, free: 23.89 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.003279, allocations: 1.305 MB / 380.3 MB, free: 22.58 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.726e-05/0.003347, allocations: 4 kB / 380.3 MB, free: 22.57 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000212/0.003559, allocations: 27.78 kB / 380.3 MB, free: 22.55 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002705/0.003829, allocations: 95.48 kB / 380.4 MB, free: 22.45 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002961/0.004125, allocations: 171.4 kB / 380.6 MB, free: 22.29 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001301/0.004255, allocations: 79.77 kB / 380.6 MB, free: 22.21 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.673e-05/0.004352, allocations: 15.97 kB / 380.7 MB, free: 22.19 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.055e-05/0.004413, allocations: 47.84 kB / 380.7 MB, free: 22.14 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.201e-05/0.004505, allocations: 19.97 kB / 380.7 MB, free: 22.12 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.004519, allocations: 8 kB / 380.7 MB, free: 22.12 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001297/0.004649, allocations: 99.75 kB / 380.8 MB, free: 22.02 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.623e-05/0.004705, allocations: 15.92 kB / 380.8 MB, free: 22 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.692e-05/0.004732, allocations: 23.97 kB / 380.9 MB, free: 21.98 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001828/0.004915, allocations: 139.5 kB / 381 MB, free: 21.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.004917, allocations: 0 / 381 MB, free: 21.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.004919, allocations: 0 / 381 MB, free: 21.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.004924, allocations: 0 / 381 MB, free: 21.84 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003501/0.005274, allocations: 443.9 kB / 381.4 MB, free: 21.38 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.005306, allocations: 15.98 kB / 381.4 MB, free: 21.36 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.605e-05/0.005342, allocations: 12.89 kB / 381.5 MB, free: 21.35 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.005459, allocations: 148.4 kB / 381.6 MB, free: 21.18 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.00547, allocations: 4.375 kB / 381.6 MB, free: 21.17 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.778e-05/0.005488, allocations: 384 / 381.6 MB, free: 21.17 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.005595, allocations: 112 kB / 381.7 MB, free: 21.04 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.005604, allocations: 4.125 kB / 381.7 MB, free: 21.04 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.005612, allocations: 4.125 kB / 381.7 MB, free: 21.03 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.005616, allocations: 0 / 381.7 MB, free: 21.03 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.758e-05/0.005644, allocations: 11.98 kB / 381.7 MB, free: 21.02 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002382/0.005882, allocations: 268.5 kB / 382 MB, free: 20.73 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.363e-05/0.005946, allocations: 35 kB / 382 MB, free: 20.68 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.214e-05/0.005968, allocations: 23.77 kB / 382.1 MB, free: 20.66 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.005986, allocations: 0 / 382.1 MB, free: 20.66 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.006005, allocations: 37.33 kB / 382.1 MB, free: 20.61 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 7.82e-07/0.006005, allocations: 4 kB / 382.1 MB, free: 20.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003543/0.00636, allocations: 117.4 kB / 382.2 MB, free: 20.48 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.36e-05/0.006383, allocations: 77.11 kB / 382.3 MB, free: 20.39 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.893e-05/0.006462, allocations: 199.7 kB / 382.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.671e-06/0.006468, allocations: 25.7 kB / 382.5 MB, free: 20.15 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.31e-05/0.006501, allocations: 150.8 kB / 382.7 MB, free: 20 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.846e-05/0.006519, allocations: 19.8 kB / 382.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.827e-05/0.006548, allocations: 31.36 kB / 382.7 MB, free: 19.94 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.408e-05/0.006592, allocations: 0.4884 MB / 383.2 MB, free: 19.44 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.39e-05/0.006606, allocations: 4 kB / 383.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.789e-05/0.006634, allocations: 65.12 kB / 383.3 MB, free: 19.36 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.527e-05/0.006669, allocations: 35.59 kB / 383.3 MB, free: 19.32 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.00667, allocations: 0 / 383.3 MB, free: 19.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.987e-05/0.00674, allocations: 65.61 kB / 383.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.00675, allocations: 12 kB / 383.4 MB, free: 19.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.006754, allocations: 0 / 383.4 MB, free: 19.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.993e-06/0.006761, allocations: 0 / 383.4 MB, free: 19.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.326e-05/0.006825, allocations: 15.98 kB / 383.4 MB, free: 19.22 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.006827, allocations: 3.938 kB / 383.4 MB, free: 19.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.442e-05/0.006852, allocations: 4 kB / 383.4 MB, free: 19.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.006857, allocations: 4 kB / 383.4 MB, free: 19.21 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 (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 4.459e-05/0.006902, allocations: 160.5 kB / 383.6 MB, free: 19.04 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.222e-05/0.006924, allocations: 15.89 kB / 383.6 MB, free: 19.02 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/0.007025, allocations: 82.42 kB / 383.7 MB, free: 18.94 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.007027, allocations: 4 kB / 383.7 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.664e-06/0.007028, allocations: 0 / 383.7 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.007032, allocations: 0 / 383.7 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001808/0.007212, allocations: 317.9 kB / 384 MB, free: 18.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.007214, allocations: 0 / 384 MB, free: 18.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.007e-05/0.007254, allocations: 19.98 kB / 384 MB, free: 18.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.007256, allocations: 0 / 384 MB, free: 18.57 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.789e-06/0.007261, allocations: 0 / 384 MB, free: 18.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.007263, allocations: 4 kB / 384 MB, free: 18.57 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.007264, allocations: 8 kB / 384 MB, free: 18.56 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.009e-05/0.007344, allocations: 216.1 kB / 384.2 MB, free: 18.33 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.177e-06/0.007353, allocations: 12.22 kB / 384.2 MB, free: 18.32 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.007365, allocations: 4 kB / 384.2 MB, free: 18.31 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.817e-05/0.007403, allocations: 4 kB / 384.2 MB, free: 18.31 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.697e-05/0.00743, allocations: 7.984 kB / 384.2 MB, free: 18.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.007434, allocations: 3.984 kB / 384.2 MB, free: 18.3 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.305e-05/0.007467, allocations: 145.2 kB / 384.4 MB, free: 18.16 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007467, allocations: 0 / 384.4 MB, free: 18.16 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001882/0.007655, allocations: 43.88 kB / 384.4 MB, free: 18.11 MB / 314.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.001009/0.008665, allocations: 490 kB / 384.9 MB, free: 17.82 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.79e-05/0.008753, allocations: 35.67 kB / 384.9 MB, free: 17.78 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.008755, allocations: 0 / 384.9 MB, free: 17.78 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.209e-05/0.008777, allocations: 31.75 kB / 385 MB, free: 17.75 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.008974, allocations: 34.91 kB / 385 MB, free: 17.71 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002705/0.009244, allocations: 188.2 kB / 385.2 MB, free: 17.5 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.438e-05/0.009269, allocations: 67.2 kB / 385.3 MB, free: 17.42 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.83e-05/0.009317, allocations: 16.72 kB / 385.3 MB, free: 17.4 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.689e-05/0.009374, allocations: 90.19 kB / 385.4 MB, free: 17.31 MB / 314.7 MB Notification: Performance of SimCode: time 4.61e-07/0.009374, allocations: 8 kB / 385.4 MB, free: 17.3 MB / 314.7 MB Notification: Performance of Templates: time 0.003386/0.01276, allocations: 2.23 MB / 387.6 MB, free: 15.09 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.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.404451474081725]