Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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.0009736/0.0009736, allocations: 81.95 kB / 21.44 MB, free: 3.059 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.001437/0.001437, allocations: 164.9 kB / 24.84 MB, free: 9.266 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9894/0.9894, allocations: 158.6 MB / 186.7 MB, free: 2.75 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1865/0.1865, allocations: 32.37 MB / 271.5 MB, free: 14.54 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 348.9 MB, free: 9.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.459e-05/2.65e-05, allocations: 2.312 kB / 348.9 MB, free: 9.156 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.0022/0.002226, allocations: 1.642 MB / 350.6 MB, free: 7.504 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009827/0.003209, allocations: 1.079 MB / 351.6 MB, free: 6.418 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.261e-05/0.003271, allocations: 0 / 351.6 MB, free: 6.418 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002311/0.003503, allocations: 31.77 kB / 351.7 MB, free: 6.387 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001826/0.003685, allocations: 47.66 kB / 351.7 MB, free: 6.34 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002719/0.003957, allocations: 147.7 kB / 351.9 MB, free: 6.195 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.004087, allocations: 71.81 kB / 351.9 MB, free: 6.125 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.004198, allocations: 8 kB / 351.9 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.911e-05/0.004257, allocations: 35.89 kB / 352 MB, free: 6.082 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.004365, allocations: 27.86 kB / 352 MB, free: 6.055 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.004386, allocations: 8 kB / 352 MB, free: 6.047 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.004488, allocations: 55.89 kB / 352.1 MB, free: 5.992 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.9e-05/0.004547, allocations: 15.94 kB / 352.1 MB, free: 5.977 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.496e-05/0.004572, allocations: 15.92 kB / 352.1 MB, free: 5.961 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001649/0.004737, allocations: 83.72 kB / 352.2 MB, free: 5.879 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.00474, allocations: 0 / 352.2 MB, free: 5.879 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.004741, allocations: 0 / 352.2 MB, free: 5.879 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.978e-06/0.004745, allocations: 4 kB / 352.2 MB, free: 5.875 MB / 282.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.0003116/0.005056, allocations: 416.1 kB / 352.6 MB, free: 5.434 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.005091, allocations: 12.03 kB / 352.6 MB, free: 5.422 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.854e-05/0.005129, allocations: 12.89 kB / 352.6 MB, free: 5.41 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.00526, allocations: 132.5 kB / 352.7 MB, free: 5.254 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.005271, allocations: 4.375 kB / 352.7 MB, free: 5.25 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.099e-05/0.005292, allocations: 4.375 kB / 352.8 MB, free: 5.246 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.005413, allocations: 104 kB / 352.9 MB, free: 5.121 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.005421, allocations: 4.125 kB / 352.9 MB, free: 5.117 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.715e-06/0.005429, allocations: 8.125 kB / 352.9 MB, free: 5.109 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.005433, allocations: 3.938 kB / 352.9 MB, free: 5.105 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.463e-05/0.005458, allocations: 8 kB / 352.9 MB, free: 5.098 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002282/0.005686, allocations: 264.3 kB / 353.1 MB, free: 4.812 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.67e-05/0.005743, allocations: 43.05 kB / 353.2 MB, free: 4.758 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.771e-05/0.00576, allocations: 15.62 kB / 353.2 MB, free: 4.738 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.005778, allocations: 4 kB / 353.2 MB, free: 4.734 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.558e-05/0.005793, allocations: 37.33 kB / 353.2 MB, free: 4.688 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.005795, allocations: 0 / 353.2 MB, free: 4.688 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002912/0.006086, allocations: 105.6 kB / 353.3 MB, free: 4.578 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/0.006112, allocations: 89.08 kB / 353.4 MB, free: 4.473 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.153e-05/0.006183, allocations: 188.1 kB / 353.6 MB, free: 4.273 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.133e-06/0.00619, allocations: 37.7 kB / 353.6 MB, free: 4.23 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.803e-05/0.006218, allocations: 138.8 kB / 353.8 MB, free: 4.09 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/0.006238, allocations: 23.78 kB / 353.8 MB, free: 4.066 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.763e-05/0.006266, allocations: 31.36 kB / 353.8 MB, free: 4.027 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.49e-05/0.006311, allocations: 0.4884 MB / 354.3 MB, free: 3.527 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.368e-05/0.006325, allocations: 8 kB / 354.3 MB, free: 3.52 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.765e-05/0.006352, allocations: 57.06 kB / 354.4 MB, free: 3.449 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.337e-05/0.006386, allocations: 31.61 kB / 354.4 MB, free: 3.414 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.006387, allocations: 0 / 354.4 MB, free: 3.414 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.428e-05/0.006461, allocations: 65.58 kB / 354.5 MB, free: 3.344 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.006472, allocations: 4 kB / 354.5 MB, free: 3.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.006475, allocations: 4.031 kB / 354.5 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.749e-06/0.006485, allocations: 4 kB / 354.5 MB, free: 3.332 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.575e-05/0.006551, allocations: 15.98 kB / 354.5 MB, free: 3.316 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-06/0.006554, allocations: 0 / 354.5 MB, free: 3.316 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.255e-05/0.006576, allocations: 4 kB / 354.5 MB, free: 3.312 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.006581, allocations: 0 / 354.5 MB, free: 3.312 MB / 282.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 5.352e-05/0.006635, allocations: 164.5 kB / 354.7 MB, free: 3.141 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.159e-05/0.006656, allocations: 12.17 kB / 354.7 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.96e-05/0.006746, allocations: 78.09 kB / 354.8 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.006748, allocations: 7.984 kB / 354.8 MB, free: 3.043 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.00675, allocations: 0 / 354.8 MB, free: 3.043 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.006753, allocations: 3.984 kB / 354.8 MB, free: 3.039 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.00694, allocations: 309.9 kB / 355.1 MB, free: 2.703 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.006941, allocations: 4 kB / 355.1 MB, free: 2.699 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.828e-05/0.006979, allocations: 15.98 kB / 355.1 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.006981, allocations: 0 / 355.1 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.559e-06/0.006986, allocations: 0 / 355.1 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.006988, allocations: 0 / 355.1 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.006988, allocations: 0 / 355.1 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.913e-05/0.007068, allocations: 216.3 kB / 355.3 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.633e-06/0.007074, allocations: 7.953 kB / 355.3 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.1e-05/0.007085, allocations: 7.938 kB / 355.3 MB, free: 2.438 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.612e-05/0.007121, allocations: 7.984 kB / 355.3 MB, free: 2.43 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.151e-05/0.007153, allocations: 7.984 kB / 355.3 MB, free: 2.422 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.007158, allocations: 8 kB / 355.3 MB, free: 2.414 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.416e-05/0.007192, allocations: 139.2 kB / 355.5 MB, free: 2.277 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007192, allocations: 0 / 355.5 MB, free: 2.277 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001754/0.007368, allocations: 27.92 kB / 355.5 MB, free: 2.25 MB / 282.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.0008387/0.008206, allocations: 426 kB / 355.9 MB, free: 1.93 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.191e-05/0.008298, allocations: 39.67 kB / 356 MB, free: 1.887 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.0083, allocations: 0 / 356 MB, free: 1.887 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.244e-05/0.008322, allocations: 23.62 kB / 356 MB, free: 1.859 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/0.008538, allocations: 27.83 kB / 356 MB, free: 1.832 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002952/0.008833, allocations: 194.8 kB / 356.2 MB, free: 1.609 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.949e-05/0.008863, allocations: 71.33 kB / 356.3 MB, free: 1.52 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.714e-05/0.00891, allocations: 16.3 kB / 356.3 MB, free: 1.504 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.187e-05/0.008972, allocations: 86.19 kB / 356.4 MB, free: 1.418 MB / 282.7 MB Notification: Performance of SimCode: time 7.01e-07/0.008972, allocations: 0 / 356.4 MB, free: 1.418 MB / 282.7 MB Notification: Performance of Templates: time 0.003516/0.01249, allocations: 1.791 MB / 358.2 MB, free: 15.63 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/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.1541716000065207]