Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.001189/0.001189, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001262/0.001262, allocations: 164.8 kB / 24.82 MB, free: 9.273 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.142/1.142, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] 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.3317/0.3317, allocations: 34.26 MB / 296.1 MB, free: 0.7305 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.Test6,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.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,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.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 378.5 MB, free: 2.383 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.228e-05/3.382e-05, allocations: 2.312 kB / 378.5 MB, free: 2.379 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.005963/0.005997, allocations: 1.685 MB / 380.2 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.007052, allocations: 0.5647 MB / 380.8 MB, free: 112 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.896e-05/0.007131, allocations: 0 / 380.8 MB, free: 112 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006002/0.007731, allocations: 459.1 kB / 381.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000491/0.008222, allocations: 303.1 kB / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004757/0.008698, allocations: 171.5 kB / 381.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003319/0.01202, allocations: 187.6 kB / 381.9 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.01214, allocations: 11.98 kB / 381.9 MB, free: 15 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001671/0.0123, allocations: 119.8 kB / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00026/0.01256, allocations: 247.5 kB / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.146e-05/0.01258, allocations: 4 kB / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.0127, allocations: 35.92 kB / 382.3 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.0128, allocations: 91.66 kB / 382.4 MB, free: 14.51 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.979e-05/0.01285, allocations: 43.72 kB / 382.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002808/0.01313, allocations: 199.2 kB / 382.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.01314, allocations: 3.938 kB / 382.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.01314, allocations: 0 / 382.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.01315, allocations: 0 / 382.6 MB, free: 14.27 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007089/0.01386, allocations: 0.7047 MB / 383.3 MB, free: 13.53 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.01391, allocations: 12.03 kB / 383.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.925e-05/0.01397, allocations: 44.66 kB / 383.4 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002466/0.01422, allocations: 248.8 kB / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.01423, allocations: 4.375 kB / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.01425, allocations: 8.359 kB / 383.6 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.01439, allocations: 62.94 kB / 383.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.0144, allocations: 4.125 kB / 383.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.01441, allocations: 4.125 kB / 383.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.01442, allocations: 0 / 383.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.185e-05/0.01445, allocations: 11.98 kB / 383.7 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003466/0.01791, allocations: 348.2 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.99e-05/0.01799, allocations: 35.05 kB / 384.1 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.271e-05/0.01802, allocations: 19.62 kB / 384.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.01804, allocations: 96 / 384.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.01807, allocations: 49.31 kB / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.01808, allocations: 0 / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004392/0.01852, allocations: 141.2 kB / 384.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.01856, allocations: 55.41 kB / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004942/0.01905, allocations: 0.6079 MB / 384.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.01907, allocations: 25.7 kB / 385 MB, free: 11.74 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000204/0.01927, allocations: 302.7 kB / 385.3 MB, free: 11.44 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.953e-05/0.0193, allocations: 19.8 kB / 385.3 MB, free: 11.42 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.795e-05/0.01935, allocations: 35.36 kB / 385.3 MB, free: 11.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000208/0.01956, allocations: 0.5547 MB / 385.9 MB, free: 10.81 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.922e-05/0.01958, allocations: 7.984 kB / 385.9 MB, free: 10.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.213e-05/0.01961, allocations: 8 kB / 385.9 MB, free: 10.79 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.94e-05/0.01967, allocations: 35.59 kB / 385.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.01967, allocations: 0 / 385.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001522/0.01982, allocations: 101.3 kB / 386 MB, free: 10.65 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.01984, allocations: 4 kB / 386 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.01984, allocations: 4 kB / 386 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.01986, allocations: 0 / 386 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.01997, allocations: 23.92 kB / 386.1 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.01998, allocations: 0 / 386.1 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.409e-05/0.02002, allocations: 4 kB / 386.1 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.02003, allocations: 0 / 386.1 MB, free: 10.61 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 (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 0.0001067/0.02013, allocations: 164.5 kB / 386.2 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.754e-05/0.02019, allocations: 51.61 kB / 386.3 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001998/0.02039, allocations: 105.9 kB / 386.4 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.02039, allocations: 0 / 386.4 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.0204, allocations: 0 / 386.4 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.0204, allocations: 0 / 386.4 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003478/0.02388, allocations: 417.9 kB / 386.8 MB, free: 9.836 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.02388, allocations: 0 / 386.8 MB, free: 9.836 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.476e-05/0.02395, allocations: 15.98 kB / 386.8 MB, free: 9.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.02396, allocations: 0 / 386.8 MB, free: 9.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.02397, allocations: 8 kB / 386.8 MB, free: 9.812 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.02397, allocations: 0 / 386.8 MB, free: 9.812 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.02397, allocations: 0 / 386.8 MB, free: 9.812 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001767/0.02415, allocations: 243.6 kB / 387 MB, free: 9.555 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.574e-05/0.02418, allocations: 35.72 kB / 387.1 MB, free: 9.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.0242, allocations: 11.92 kB / 387.1 MB, free: 9.508 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.432e-05/0.02428, allocations: 8 kB / 387.1 MB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.291e-05/0.02431, allocations: 8.266 kB / 387.1 MB, free: 9.492 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.02432, allocations: 0 / 387.1 MB, free: 9.492 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002914/0.02461, allocations: 398.7 kB / 387.5 MB, free: 9.105 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02461, allocations: 0 / 387.5 MB, free: 9.105 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002566/0.02487, allocations: 27.94 kB / 387.5 MB, free: 9.078 MB / 362.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.001015/0.02588, allocations: 388.7 kB / 387.9 MB, free: 8.832 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001197/0.026, allocations: 39.66 kB / 387.9 MB, free: 8.789 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.026, allocations: 0 / 387.9 MB, free: 8.789 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.667e-05/0.02604, allocations: 27.61 kB / 388 MB, free: 8.758 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003365/0.02941, allocations: 34.19 kB / 388 MB, free: 8.727 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008378/0.03024, allocations: 0.5888 MB / 388.6 MB, free: 8.109 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001025/0.03035, allocations: 127.2 kB / 388.7 MB, free: 7.965 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.619e-05/0.0304, allocations: 17.02 kB / 388.7 MB, free: 7.945 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.122e-05/0.03047, allocations: 78.2 kB / 388.8 MB, free: 7.867 MB / 362.7 MB Notification: Performance of SimCode: time 1.382e-06/0.03047, allocations: 0 / 388.8 MB, free: 7.867 MB / 362.7 MB Notification: Performance of Templates: time 0.01092/0.0414, allocations: 1.662 MB / 390.5 MB, free: 6.215 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.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.3126819767057896]