Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.00191/0.00191, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001992/0.001992, allocations: 169.3 kB / 24.27 MB, free: 156 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.8/1.8, allocations: 177.1 MB / 204.6 MB, free: 5.625 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.3496/0.3496, allocations: 34.26 MB / 295.3 MB, free: 0.668 MB / 266.7 MB " [Timeout remaining time 180] 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.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 377.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.492e-05/3.722e-05, allocations: 2.312 kB / 377.3 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.005362/0.0054, allocations: 1.69 MB / 379 MB, free: 1.246 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002015/0.007415, allocations: 0.5608 MB / 379.6 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.273e-05/0.007507, allocations: 8 kB / 379.6 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001047/0.008554, allocations: 455 kB / 380 MB, free: 232 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009858/0.00954, allocations: 303.1 kB / 380.3 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009211/0.01046, allocations: 175.5 kB / 380.5 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004618/0.01092, allocations: 175.6 kB / 380.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.01107, allocations: 16.22 kB / 380.7 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003391/0.01141, allocations: 123.8 kB / 380.8 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005937/0.01201, allocations: 247.6 kB / 381 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.83e-05/0.01206, allocations: 7.938 kB / 381 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002651/0.01232, allocations: 47.92 kB / 381.1 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002248/0.01255, allocations: 91.64 kB / 381.2 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.01266, allocations: 39.73 kB / 381.2 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006995/0.01336, allocations: 251.1 kB / 381.5 MB, free: 14.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.01336, allocations: 0 / 381.5 MB, free: 14.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.01336, allocations: 0 / 381.5 MB, free: 14.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.598e-05/0.01338, allocations: 0 / 381.5 MB, free: 14.77 MB / 362.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.001721/0.0151, allocations: 0.7317 MB / 382.2 MB, free: 14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.001e-05/0.01516, allocations: 12.03 kB / 382.2 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001569/0.01532, allocations: 48.66 kB / 382.2 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005354/0.01585, allocations: 244.9 kB / 382.5 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.01588, allocations: 4.375 kB / 382.5 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.047e-05/0.01591, allocations: 4.375 kB / 382.5 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002303/0.01614, allocations: 58.17 kB / 382.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.01616, allocations: 4.188 kB / 382.6 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.01618, allocations: 4.125 kB / 382.6 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.01618, allocations: 0 / 382.6 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001552/0.01634, allocations: 19.98 kB / 382.6 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001134/0.01747, allocations: 483.6 kB / 383 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.01768, allocations: 54.98 kB / 383.1 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.044e-05/0.01777, allocations: 15.77 kB / 383.1 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.123e-05/0.0178, allocations: 0 / 383.1 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.512e-05/0.01785, allocations: 41.39 kB / 383.2 MB, free: 12.94 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.443e-06/0.01785, allocations: 0 / 383.2 MB, free: 12.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.001585/0.01944, allocations: 297 kB / 383.4 MB, free: 12.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.183e-05/0.01951, allocations: 55.39 kB / 383.5 MB, free: 12.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001355/0.02087, allocations: 0.6745 MB / 384.2 MB, free: 11.88 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.02089, allocations: 25.7 kB / 384.2 MB, free: 11.85 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004165/0.02131, allocations: 298.8 kB / 384.5 MB, free: 11.55 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.961e-05/0.02137, allocations: 31.73 kB / 384.5 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.162e-05/0.02145, allocations: 27.38 kB / 384.6 MB, free: 11.49 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004928/0.02194, allocations: 0.5781 MB / 385.1 MB, free: 10.9 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.02207, allocations: 19.98 kB / 385.1 MB, free: 10.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.02218, allocations: 16 kB / 385.2 MB, free: 10.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002308/0.02241, allocations: 63.66 kB / 385.2 MB, free: 10.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.02241, allocations: 3.938 kB / 385.2 MB, free: 10.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003888/0.0228, allocations: 129.3 kB / 385.4 MB, free: 10.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/0.02283, allocations: 4 kB / 385.4 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.02284, allocations: 3.984 kB / 385.4 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/0.02286, allocations: 0 / 385.4 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.02301, allocations: 12 kB / 385.4 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.02303, allocations: 4 kB / 385.4 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.02313, allocations: 3.984 kB / 385.4 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.799e-05/0.02315, allocations: 8 kB / 385.4 MB, free: 10.62 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 0.0002291/0.02338, allocations: 168.5 kB / 385.6 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.0235, allocations: 47.67 kB / 385.6 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004501/0.02395, allocations: 125.5 kB / 385.7 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.105e-05/0.02397, allocations: 7.984 kB / 385.7 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.02398, allocations: 0 / 385.7 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.02398, allocations: 0 / 385.7 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001294/0.02527, allocations: 0.5595 MB / 386.3 MB, free: 9.656 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.02528, allocations: 4 kB / 386.3 MB, free: 9.652 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.02539, allocations: 19.98 kB / 386.3 MB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.0254, allocations: 0 / 386.3 MB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.02541, allocations: 4 kB / 386.3 MB, free: 9.629 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.02542, allocations: 480 / 386.3 MB, free: 9.629 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.02542, allocations: 3.938 kB / 386.3 MB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005601/0.02598, allocations: 287.2 kB / 386.6 MB, free: 9.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.02609, allocations: 39.72 kB / 386.6 MB, free: 9.281 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.145e-05/0.02614, allocations: 8.016 kB / 386.7 MB, free: 9.273 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.0263, allocations: 4 kB / 386.7 MB, free: 9.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.196e-05/0.02636, allocations: 11.92 kB / 386.7 MB, free: 9.258 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.02637, allocations: 0 / 386.7 MB, free: 9.258 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008855/0.02725, allocations: 446.8 kB / 387.1 MB, free: 8.824 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.02726, allocations: 0 / 387.1 MB, free: 8.824 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005133/0.02777, allocations: 27.94 kB / 387.1 MB, free: 8.797 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.005323/0.03309, allocations: 0.4901 MB / 387.6 MB, free: 8.512 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004827/0.03357, allocations: 67.58 kB / 387.7 MB, free: 8.441 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.03358, allocations: 0 / 387.7 MB, free: 8.441 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002088/0.03379, allocations: 43.61 kB / 387.7 MB, free: 8.395 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006517/0.03444, allocations: 36.73 kB / 387.8 MB, free: 8.363 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001845/0.03628, allocations: 0.6236 MB / 388.4 MB, free: 7.707 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004543/0.03674, allocations: 212.8 kB / 388.6 MB, free: 7.484 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001373/0.03688, allocations: 17.02 kB / 388.6 MB, free: 7.469 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.951e-05/0.03694, allocations: 16.5 kB / 388.6 MB, free: 7.453 MB / 362.7 MB Notification: Performance of SimCode: time 1.253e-06/0.03695, allocations: 4 kB / 388.6 MB, free: 7.449 MB / 362.7 MB Notification: Performance of Templates: time 0.009025/0.04597, allocations: 1.612 MB / 390.2 MB, free: 5.852 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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: 5.152506643906236]