Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.002028/0.002028, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.002254/0.002254, allocations: 210.6 kB / 23.73 MB, free: 4.387 MB / 14.72 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.526/1.526, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 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.2303/0.2303, allocations: 46.97 MB / 360.9 MB, free: 4.043 MB / 286.1 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.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002485/0.002485, allocations: 71.88 kB / 0.4966 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3334, allocations: 66.03 MB / 0.5611 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.003339/0.3368, allocations: 1.616 MB / 0.5627 GB, free: 2.574 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001072/0.3378, allocations: 0.5271 MB / 0.5632 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.102e-05/0.3379, allocations: 0 / 0.5632 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002785/0.3382, allocations: 83.7 kB / 0.5633 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003191/0.3385, allocations: 107.6 kB / 0.5634 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003045/0.3388, allocations: 111.2 kB / 0.5635 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000169/0.339, allocations: 79.83 kB / 0.5636 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.3391, allocations: 22.64 kB / 0.5636 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.209e-05/0.3391, allocations: 31.86 kB / 0.5636 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.3393, allocations: 55.81 kB / 0.5637 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.3393, allocations: 4 kB / 0.5637 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.626e-05/0.3394, allocations: 39.98 kB / 0.5637 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.766e-05/0.3394, allocations: 19.92 kB / 0.5637 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.131e-05/0.3395, allocations: 27.8 kB / 0.5637 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002017/0.3397, allocations: 107.2 kB / 0.5638 GB, free: 1.375 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3397, allocations: 4 kB / 0.5639 GB, free: 1.371 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3397, allocations: 3.938 kB / 0.5639 GB, free: 1.367 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.3397, allocations: 0 / 0.5639 GB, free: 1.367 MB / 398.1 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.0005032/0.3402, allocations: 329.6 kB / 0.5642 GB, free: 1.016 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.3402, allocations: 16.03 kB / 0.5642 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.208e-05/0.3403, allocations: 12.84 kB / 0.5642 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/0.3405, allocations: 138.4 kB / 0.5643 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.3405, allocations: 4.375 kB / 0.5643 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.711e-05/0.3405, allocations: 4.375 kB / 0.5643 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.3407, allocations: 65.72 kB / 0.5644 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.3407, allocations: 0 / 0.5644 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.3407, allocations: 4 kB / 0.5644 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.3407, allocations: 0 / 0.5644 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.3408, allocations: 23.98 kB / 0.5644 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004042/0.3412, allocations: 248.4 kB / 0.5647 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.3414, allocations: 46.5 kB / 0.5647 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.517e-05/0.3414, allocations: 20.94 kB / 0.5647 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.3414, allocations: 0 / 0.5647 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.3415, allocations: 34.56 kB / 0.5648 GB, free: 336 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.3415, allocations: 0 / 0.5648 GB, free: 336 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009465/0.3424, allocations: 249.3 kB / 0.565 GB, free: 80 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.3425, allocations: 51.41 kB / 0.565 GB, free: 16 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002317/0.3427, allocations: 207.4 kB / 0.5652 GB, free: 15.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.3427, allocations: 25.7 kB / 0.5653 GB, free: 15.76 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.648e-05/0.3428, allocations: 104.1 kB / 0.5654 GB, free: 15.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.515e-05/0.3428, allocations: 31.66 kB / 0.5654 GB, free: 15.63 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.611e-05/0.3429, allocations: 25.7 kB / 0.5654 GB, free: 15.6 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.343, allocations: 330.7 kB / 0.5657 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.756e-05/0.3431, allocations: 31.98 kB / 0.5658 GB, free: 15.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.617e-05/0.3432, allocations: 31.97 kB / 0.5658 GB, free: 15.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.3433, allocations: 72.77 kB / 0.5659 GB, free: 15.13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.3433, allocations: 0 / 0.5659 GB, free: 15.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002278/0.3436, allocations: 109.6 kB / 0.566 GB, free: 15.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.3436, allocations: 4 kB / 0.566 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.3436, allocations: 4 kB / 0.566 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.3436, allocations: 4 kB / 0.566 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.3437, allocations: 23.92 kB / 0.566 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.3437, allocations: 0 / 0.566 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.249e-05/0.3438, allocations: 4 kB / 0.566 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.3438, allocations: 7.938 kB / 0.566 GB, free: 14.97 MB / 414.1 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.0001061/0.3439, allocations: 125.8 kB / 0.5661 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.619e-05/0.3439, allocations: 11.91 kB / 0.5662 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003052/0.3442, allocations: 135 kB / 0.5663 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.3442, allocations: 0 / 0.5663 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.3442, allocations: 4 kB / 0.5663 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.3442, allocations: 3.938 kB / 0.5663 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005296/0.3448, allocations: 354.9 kB / 0.5666 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.3448, allocations: 0 / 0.5666 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.29e-05/0.3448, allocations: 19.98 kB / 0.5666 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3448, allocations: 0 / 0.5666 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.3448, allocations: 4 kB / 0.5667 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.3449, allocations: 7.969 kB / 0.5667 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3449, allocations: 4 kB / 0.5667 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002811/0.3451, allocations: 216.7 kB / 0.5669 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.608e-05/0.3451, allocations: 7.953 kB / 0.5669 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.3452, allocations: 3.984 kB / 0.5669 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.69e-05/0.3452, allocations: 7.938 kB / 0.5669 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/0.3453, allocations: 15.92 kB / 0.5669 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.3453, allocations: 8 kB / 0.5669 GB, free: 13.97 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001413/0.3454, allocations: 149.8 kB / 0.5671 GB, free: 13.83 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3454, allocations: 4 kB / 0.5671 GB, free: 13.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002548/0.3457, allocations: 23.94 kB / 0.5671 GB, free: 13.8 MB / 414.1 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.001859/0.3475, allocations: 487.2 kB / 0.5675 GB, free: 13.53 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002318/0.3478, allocations: 71.89 kB / 0.5676 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3478, allocations: 0 / 0.5676 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.3479, allocations: 39.97 kB / 0.5677 GB, free: 13.42 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/0.3482, allocations: 19.92 kB / 0.5677 GB, free: 13.4 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005111/0.3487, allocations: 263.1 kB / 0.5679 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.3488, allocations: 96.25 kB / 0.568 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.335e-05/0.3489, allocations: 20.95 kB / 0.568 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.597e-05/0.3489, allocations: 15.42 kB / 0.568 GB, free: 12.96 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.3489, allocations: 3.938 kB / 0.5681 GB, free: 12.96 MB / 414.1 MB Notification: Performance of Templates: time 0.004525/0.3535, allocations: 1.438 MB / 0.5695 GB, free: 11.54 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.279376612976193]