Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0008379/0.0008379, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.0009968/0.0009968, allocations: 161 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.9628/0.9628, allocations: 177.2 MB / 205 MB, free: 5.301 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.2725/0.2725, allocations: 32.8 MB / 294.3 MB, free: 1.23 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.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.0.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.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 376 MB, free: 4.648 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.481e-05/2.663e-05, allocations: 9.203 kB / 376 MB, free: 4.641 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.002346/0.002373, allocations: 1.712 MB / 377.8 MB, free: 2.914 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007888/0.003162, allocations: 0.5764 MB / 378.3 MB, free: 2.332 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.118e-05/0.003223, allocations: 0 / 378.3 MB, free: 2.332 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004486/0.003671, allocations: 451.1 kB / 378.8 MB, free: 1.891 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003684/0.00404, allocations: 307.1 kB / 379.1 MB, free: 1.59 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002755/0.004315, allocations: 175.5 kB / 379.2 MB, free: 1.418 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001748/0.00449, allocations: 179.6 kB / 379.4 MB, free: 1.242 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.004591, allocations: 20.16 kB / 379.4 MB, free: 1.219 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.004696, allocations: 119.8 kB / 379.6 MB, free: 1.102 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001856/0.004881, allocations: 243.6 kB / 379.8 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.004898, allocations: 0 / 379.8 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.245e-05/0.00498, allocations: 51.92 kB / 379.9 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.13e-05/0.005062, allocations: 95.69 kB / 379.9 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.006e-05/0.005102, allocations: 35.75 kB / 380 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.005326, allocations: 215 kB / 380.2 MB, free: 484 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.005328, allocations: 0 / 380.2 MB, free: 484 kB / 346.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.005329, allocations: 0 / 380.2 MB, free: 484 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.005334, allocations: 0 / 380.2 MB, free: 484 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005985/0.005932, allocations: 0.7087 MB / 380.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.005969, allocations: 8.031 kB / 380.9 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.299e-05/0.006032, allocations: 44.66 kB / 380.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002082/0.00624, allocations: 252.8 kB / 381.2 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.00625, allocations: 4.375 kB / 381.2 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.589e-05/0.006276, allocations: 8.375 kB / 381.2 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.006391, allocations: 58.95 kB / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.006402, allocations: 192 / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.006413, allocations: 4.125 kB / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.006421, allocations: 3.938 kB / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.953e-05/0.006461, allocations: 19.92 kB / 381.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006056/0.007066, allocations: 439.6 kB / 381.7 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.177e-05/0.007138, allocations: 47.03 kB / 381.8 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.788e-05/0.007166, allocations: 11.77 kB / 381.8 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.007193, allocations: 8 kB / 381.8 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.007215, allocations: 37.39 kB / 381.8 MB, free: 14.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.007216, allocations: 0 / 381.8 MB, free: 14.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005638/0.00778, allocations: 260.8 kB / 382.1 MB, free: 14.44 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.007814, allocations: 51.41 kB / 382.1 MB, free: 14.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004223/0.008236, allocations: 0.6316 MB / 382.8 MB, free: 13.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.008248, allocations: 29.7 kB / 382.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.008392, allocations: 278.8 kB / 383.1 MB, free: 13.42 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.678e-05/0.008419, allocations: 31.73 kB / 383.1 MB, free: 13.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-05/0.00845, allocations: 27.38 kB / 383.1 MB, free: 13.35 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.008605, allocations: 0.5586 MB / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.281e-05/0.008628, allocations: 11.94 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.893e-05/0.008647, allocations: 8 kB / 383.7 MB, free: 12.76 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.117e-05/0.008698, allocations: 39.89 kB / 383.7 MB, free: 12.72 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.0087, allocations: 0 / 383.7 MB, free: 12.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001117/0.008811, allocations: 109.4 kB / 383.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.008825, allocations: 10.03 kB / 383.9 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.00883, allocations: 0 / 383.9 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.008847, allocations: 0 / 383.9 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.665e-05/0.008924, allocations: 23.92 kB / 383.9 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.008928, allocations: 0 / 383.9 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.508e-05/0.008953, allocations: 4 kB / 383.9 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-06/0.008962, allocations: 4 kB / 383.9 MB, free: 12.57 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.547e-05/0.009037, allocations: 160.5 kB / 384 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.825e-05/0.009075, allocations: 47.67 kB / 384.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001555/0.009231, allocations: 113.5 kB / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.009234, allocations: 4 kB / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.009238, allocations: 0 / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.009241, allocations: 4 kB / 384.2 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003924/0.009633, allocations: 0.5125 MB / 384.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.009635, allocations: 3.938 kB / 384.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.426e-05/0.00968, allocations: 19.98 kB / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.009683, allocations: 0 / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.009692, allocations: 4 kB / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.009694, allocations: 0 / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.009696, allocations: 3.938 kB / 384.8 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001532/0.009849, allocations: 271.2 kB / 385 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.576e-05/0.009875, allocations: 31.75 kB / 385 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.009892, allocations: 12 kB / 385.1 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.844e-05/0.00993, allocations: 0 / 385.1 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.415e-05/0.009965, allocations: 15.91 kB / 385.1 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.00997, allocations: 4 kB / 385.1 MB, free: 11.28 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002503/0.01022, allocations: 430.8 kB / 385.5 MB, free: 10.86 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01022, allocations: 0 / 385.5 MB, free: 10.86 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001766/0.0104, allocations: 24 kB / 385.5 MB, free: 10.84 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.0009018/0.0113, allocations: 434.6 kB / 385.9 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001194/0.01142, allocations: 47.61 kB / 386 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.01142, allocations: 0 / 386 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.441e-05/0.01145, allocations: 31.67 kB / 386 MB, free: 10.48 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.01171, allocations: 25.95 kB / 386 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006637/0.01237, allocations: 0.6171 MB / 386.7 MB, free: 9.809 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.535e-05/0.01245, allocations: 127.2 kB / 386.8 MB, free: 9.664 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.415e-05/0.01249, allocations: 17.03 kB / 386.8 MB, free: 9.648 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.029e-05/0.01252, allocations: 16.5 kB / 386.8 MB, free: 9.633 MB / 362.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01252, allocations: 0 / 386.8 MB, free: 9.633 MB / 362.7 MB Notification: Performance of Templates: time 0.004093/0.01661, allocations: 1.652 MB / 388.5 MB, free: 7.996 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.123097233939916]