Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.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.001092/0.001092, allocations: 76.41 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.001446/0.001446, allocations: 173.8 kB / 25.61 MB, free: 8.898 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.013/1.013, 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.1342/0.1342, allocations: 32.81 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.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.634e-06/1.634e-06, allocations: 0 / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.019e-05/3.182e-05, allocations: 2.312 kB / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.00595/0.005981, allocations: 1.626 MB / 378.9 MB, free: 23.96 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00089/0.006871, allocations: 0.5336 MB / 379.4 MB, free: 23.42 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.779e-05/0.006939, allocations: 0 / 379.4 MB, free: 23.42 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002401/0.007179, allocations: 31.83 kB / 379.5 MB, free: 23.39 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003422/0.0106, allocations: 83.56 kB / 379.5 MB, free: 23.31 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003606/0.01096, allocations: 111.6 kB / 379.7 MB, free: 23.2 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001547/0.01112, allocations: 71.77 kB / 379.7 MB, free: 23.13 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.01122, allocations: 15.84 kB / 379.7 MB, free: 23.11 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.647e-05/0.01129, allocations: 27.92 kB / 379.8 MB, free: 23.09 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.285e-05/0.01135, allocations: 15.97 kB / 379.8 MB, free: 23.07 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.01137, allocations: 4 kB / 379.8 MB, free: 23.07 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.673e-05/0.01146, allocations: 35.92 kB / 379.8 MB, free: 23.03 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.369e-05/0.0115, allocations: 19.88 kB / 379.8 MB, free: 23.01 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.57e-05/0.01153, allocations: 15.92 kB / 379.9 MB, free: 23 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001609/0.01169, allocations: 67.73 kB / 379.9 MB, free: 22.93 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.01169, allocations: 0 / 379.9 MB, free: 22.93 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.01169, allocations: 7.938 kB / 379.9 MB, free: 22.92 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.0117, allocations: 0 / 379.9 MB, free: 22.92 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003657/0.01206, allocations: 416.1 kB / 380.3 MB, free: 22.48 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.0121, allocations: 15.98 kB / 380.4 MB, free: 22.46 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.523e-05/0.01215, allocations: 8.891 kB / 380.4 MB, free: 22.46 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.01228, allocations: 148.9 kB / 380.5 MB, free: 22.29 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.01229, allocations: 384 / 380.5 MB, free: 22.29 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/0.01231, allocations: 4.375 kB / 380.5 MB, free: 22.28 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.01241, allocations: 54.7 kB / 380.6 MB, free: 22.22 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.01242, allocations: 0 / 380.6 MB, free: 22.22 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.01243, allocations: 8 kB / 380.6 MB, free: 22.21 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.01243, allocations: 0 / 380.6 MB, free: 22.21 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.525e-05/0.01246, allocations: 7.984 kB / 380.6 MB, free: 22.2 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002411/0.0127, allocations: 252.3 kB / 380.8 MB, free: 21.93 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.01284, allocations: 51.03 kB / 380.9 MB, free: 21.87 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.976e-05/0.01286, allocations: 23.7 kB / 380.9 MB, free: 21.84 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.01288, allocations: 0 / 380.9 MB, free: 21.84 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.674e-05/0.0129, allocations: 37.39 kB / 380.9 MB, free: 21.79 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.0129, allocations: 0 / 380.9 MB, free: 21.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.003406/0.0163, allocations: 85.5 kB / 381 MB, free: 21.7 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/0.01633, allocations: 51.41 kB / 381.1 MB, free: 21.64 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.01643, allocations: 212.7 kB / 381.3 MB, free: 21.42 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.823e-06/0.01644, allocations: 25.7 kB / 381.3 MB, free: 21.39 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.073e-05/0.01648, allocations: 154.8 kB / 381.5 MB, free: 21.23 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.357e-05/0.0165, allocations: 11.91 kB / 381.5 MB, free: 21.22 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.534e-05/0.01654, allocations: 27.31 kB / 381.5 MB, free: 21.18 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.37e-05/0.01659, allocations: 0.4962 MB / 382 MB, free: 20.68 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.514e-05/0.01661, allocations: 7.984 kB / 382 MB, free: 20.67 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.485e-05/0.01662, allocations: 7.938 kB / 382 MB, free: 20.66 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.913e-05/0.01666, allocations: 23.67 kB / 382 MB, free: 20.63 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.01666, allocations: 3.938 kB / 382 MB, free: 20.63 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.545e-05/0.01675, allocations: 57.64 kB / 382.1 MB, free: 20.57 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.01676, allocations: 6.344 kB / 382.1 MB, free: 20.56 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.01677, allocations: 0 / 382.1 MB, free: 20.56 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.01678, allocations: 4 kB / 382.1 MB, free: 20.56 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.558e-05/0.01683, allocations: 11.98 kB / 382.1 MB, free: 20.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.535e-06/0.01684, allocations: 4 kB / 382.1 MB, free: 20.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.393e-05/0.01686, allocations: 3.938 kB / 382.1 MB, free: 20.54 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-06/0.01687, allocations: 4 kB / 382.1 MB, free: 20.54 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 (5): * Single equations (assignments): 5 * 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.834e-05/0.01691, allocations: 160.5 kB / 382.3 MB, free: 20.37 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3e-05/0.01694, allocations: 11.95 kB / 382.3 MB, free: 20.36 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001243/0.01707, allocations: 70.34 kB / 382.4 MB, free: 20.28 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.01707, allocations: 4 kB / 382.4 MB, free: 20.28 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.01708, allocations: 0 / 382.4 MB, free: 20.28 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.01708, allocations: 0 / 382.4 MB, free: 20.28 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002448/0.01732, allocations: 306 kB / 382.7 MB, free: 19.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.01733, allocations: 0 / 382.7 MB, free: 19.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.987e-05/0.01737, allocations: 15.98 kB / 382.7 MB, free: 19.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.01737, allocations: 0 / 382.7 MB, free: 19.93 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.2e-06/0.01737, allocations: 0 / 382.7 MB, free: 19.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.01737, allocations: 0 / 382.7 MB, free: 19.93 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01738, allocations: 0 / 382.7 MB, free: 19.93 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.395e-05/0.01747, allocations: 207.8 kB / 382.9 MB, free: 19.71 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.081e-05/0.01748, allocations: 15.95 kB / 382.9 MB, free: 19.69 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.01749, allocations: 0 / 382.9 MB, free: 19.69 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.377e-05/0.01755, allocations: 7.984 kB / 382.9 MB, free: 19.68 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.503e-05/0.01757, allocations: 4 kB / 382.9 MB, free: 19.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.01758, allocations: 4 kB / 382.9 MB, free: 19.68 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.815e-05/0.01763, allocations: 158.4 kB / 383.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01763, allocations: 0 / 383.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002374/0.01786, allocations: 8 kB / 383.1 MB, free: 19.52 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 (5): * Single equations (assignments): 5 * 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.001007/0.01887, allocations: 392.3 kB / 383.5 MB, free: 19.28 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003135/0.022, allocations: 23.67 kB / 383.5 MB, free: 19.25 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.02201, allocations: 0 / 383.5 MB, free: 19.25 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.537e-05/0.02203, allocations: 23.61 kB / 383.5 MB, free: 19.22 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.02234, allocations: 33.83 kB / 383.5 MB, free: 19.19 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003647/0.0227, allocations: 172.2 kB / 383.7 MB, free: 19 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.633e-05/0.02274, allocations: 74.2 kB / 383.8 MB, free: 18.91 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.102e-05/0.02278, allocations: 11.98 kB / 383.8 MB, free: 18.89 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.806e-05/0.02284, allocations: 82.2 kB / 383.9 MB, free: 18.81 MB / 314.7 MB Notification: Performance of SimCode: time 1.412e-06/0.02284, allocations: 0 / 383.9 MB, free: 18.81 MB / 314.7 MB Notification: Performance of Templates: time 0.006728/0.02957, allocations: 1.291 MB / 385.2 MB, free: 17.53 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.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.2891018758527935]