Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.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.0009472/0.0009472, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001229/0.001229, allocations: 165 kB / 23.8 MB, free: 0.7734 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.9267/0.9267, allocations: 158.6 MB / 185.7 MB, free: 2.906 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.1611/0.1611, allocations: 32.37 MB / 270.4 MB, free: 14.71 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.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.755e-06/2.755e-06, allocations: 4 kB / 347.7 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.826e-05/2.102e-05, allocations: 8.219 kB / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.001973/0.001994, allocations: 1.595 MB / 349.3 MB, free: 7.836 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008681/0.002862, allocations: 1.052 MB / 350.3 MB, free: 6.777 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.9e-05/0.002921, allocations: 0 / 350.3 MB, free: 6.777 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002603/0.003182, allocations: 27.8 kB / 350.4 MB, free: 6.75 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002355/0.003417, allocations: 43.72 kB / 350.4 MB, free: 6.707 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001985/0.003616, allocations: 67.78 kB / 350.5 MB, free: 6.641 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001433/0.003759, allocations: 63.77 kB / 350.5 MB, free: 6.578 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.003871, allocations: 7.984 kB / 350.5 MB, free: 6.57 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.899e-05/0.00393, allocations: 27.92 kB / 350.6 MB, free: 6.543 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.004033, allocations: 23.91 kB / 350.6 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.004052, allocations: 8 kB / 350.6 MB, free: 6.512 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.004154, allocations: 47.91 kB / 350.6 MB, free: 6.465 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.576e-05/0.00421, allocations: 11.98 kB / 350.7 MB, free: 6.453 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.051e-05/0.00424, allocations: 11.94 kB / 350.7 MB, free: 6.441 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.004429, allocations: 75.73 kB / 350.7 MB, free: 6.367 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.00443, allocations: 4 kB / 350.7 MB, free: 6.363 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.004431, allocations: 3.938 kB / 350.7 MB, free: 6.359 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.004438, allocations: 0 / 350.7 MB, free: 6.359 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004028/0.00484, allocations: 412.2 kB / 351.1 MB, free: 5.922 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.004879, allocations: 8.031 kB / 351.2 MB, free: 5.914 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.517e-05/0.004925, allocations: 8.938 kB / 351.2 MB, free: 5.906 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.00505, allocations: 136.4 kB / 351.3 MB, free: 5.746 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.005059, allocations: 384 / 351.3 MB, free: 5.746 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.005081, allocations: 4.375 kB / 351.3 MB, free: 5.742 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.005225, allocations: 108 kB / 351.4 MB, free: 5.613 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.005237, allocations: 4.172 kB / 351.4 MB, free: 5.609 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.005248, allocations: 8.125 kB / 351.4 MB, free: 5.602 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.005258, allocations: 0 / 351.4 MB, free: 5.602 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.11e-05/0.005289, allocations: 4 kB / 351.4 MB, free: 5.598 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002705/0.00556, allocations: 263.8 kB / 351.7 MB, free: 5.305 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002079/0.005768, allocations: 47.09 kB / 351.7 MB, free: 5.246 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.623e-05/0.005794, allocations: 19.67 kB / 351.7 MB, free: 5.223 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.005816, allocations: 3.938 kB / 351.7 MB, free: 5.219 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.005834, allocations: 37.39 kB / 351.8 MB, free: 5.172 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.005835, allocations: 0 / 351.8 MB, free: 5.172 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003322/0.006167, allocations: 93.47 kB / 351.9 MB, free: 5.074 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.006196, allocations: 81.11 kB / 352 MB, free: 4.977 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.006301, allocations: 184.2 kB / 352.1 MB, free: 4.781 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.412e-06/0.006307, allocations: 29.7 kB / 352.2 MB, free: 4.746 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.391e-05/0.006341, allocations: 138.9 kB / 352.3 MB, free: 4.605 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.643e-05/0.006358, allocations: 19.84 kB / 352.3 MB, free: 4.586 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.538e-05/0.006383, allocations: 23.38 kB / 352.3 MB, free: 4.555 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.796e-05/0.006441, allocations: 0.4923 MB / 352.8 MB, free: 4.051 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.42e-05/0.006455, allocations: 4 kB / 352.8 MB, free: 4.047 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.476e-05/0.00648, allocations: 45.08 kB / 352.9 MB, free: 3.988 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.243e-05/0.006512, allocations: 35.61 kB / 352.9 MB, free: 3.949 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.006513, allocations: 0 / 352.9 MB, free: 3.949 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.562e-05/0.006569, allocations: 53.59 kB / 353 MB, free: 3.891 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.006581, allocations: 8 kB / 353 MB, free: 3.883 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.006586, allocations: 3.938 kB / 353 MB, free: 3.879 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.0066, allocations: 8.016 kB / 353 MB, free: 3.871 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.682e-05/0.006636, allocations: 8 kB / 353 MB, free: 3.863 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.006643, allocations: 0 / 353 MB, free: 3.863 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.807e-05/0.006661, allocations: 4 kB / 353 MB, free: 3.859 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.006666, allocations: 0 / 353 MB, free: 3.859 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 (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.409e-05/0.00671, allocations: 164.6 kB / 353.2 MB, free: 3.688 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.783e-05/0.006728, allocations: 11.89 kB / 353.2 MB, free: 3.676 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.416e-05/0.006822, allocations: 66 kB / 353.2 MB, free: 3.609 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.006825, allocations: 0 / 353.2 MB, free: 3.609 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.00683, allocations: 4.062 kB / 353.2 MB, free: 3.605 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.006834, allocations: 8 kB / 353.3 MB, free: 3.598 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001806/0.007015, allocations: 321.3 kB / 353.6 MB, free: 3.242 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.007016, allocations: 0 / 353.6 MB, free: 3.242 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.145e-05/0.007038, allocations: 8 kB / 353.6 MB, free: 3.234 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.00704, allocations: 0 / 353.6 MB, free: 3.234 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.007046, allocations: 0 / 353.6 MB, free: 3.234 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.007047, allocations: 0 / 353.6 MB, free: 3.234 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.007048, allocations: 0 / 353.6 MB, free: 3.234 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.642e-05/0.007135, allocations: 211.8 kB / 353.8 MB, free: 3.008 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.204e-06/0.007142, allocations: 7.938 kB / 353.8 MB, free: 3 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.007158, allocations: 0 / 353.8 MB, free: 3 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.946e-05/0.007187, allocations: 12 kB / 353.8 MB, free: 2.988 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.103e-05/0.007218, allocations: 3.984 kB / 353.8 MB, free: 2.984 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.007222, allocations: 4 kB / 353.8 MB, free: 2.98 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.246e-05/0.007254, allocations: 147.1 kB / 353.9 MB, free: 2.836 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007254, allocations: 0 / 353.9 MB, free: 2.836 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001663/0.007421, allocations: 23.94 kB / 354 MB, free: 2.812 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 (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.0008554/0.008276, allocations: 430.2 kB / 354.4 MB, free: 2.488 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000131/0.008407, allocations: 31.67 kB / 354.4 MB, free: 2.453 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.008409, allocations: 0 / 354.4 MB, free: 2.453 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.287e-05/0.008432, allocations: 27.62 kB / 354.5 MB, free: 2.422 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.008649, allocations: 23.86 kB / 354.5 MB, free: 2.398 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003028/0.008951, allocations: 150 kB / 354.6 MB, free: 2.223 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.005e-05/0.008981, allocations: 59.34 kB / 354.7 MB, free: 2.145 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.803e-05/0.009019, allocations: 11.98 kB / 354.7 MB, free: 2.133 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.191e-05/0.009051, allocations: 16.5 kB / 354.7 MB, free: 2.117 MB / 282.7 MB Notification: Performance of SimCode: time 7.62e-07/0.009052, allocations: 0 / 354.7 MB, free: 2.117 MB / 282.7 MB Notification: Performance of Templates: time 0.003355/0.01241, allocations: 1.549 MB / 356.3 MB, free: 0.582 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.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: 2.9729782408103347]