Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.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.001565/0.001565, allocations: 81.08 kB / 20.65 MB, free: 3.84 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.001626/0.001626, allocations: 173 kB / 24.05 MB, free: 456 kB / 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.9539/0.9539, allocations: 158.6 MB / 185.9 MB, free: 2.797 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.1437/0.1437, allocations: 32.38 MB / 270.7 MB, free: 14.53 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.Test5,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.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,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.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.126e-06/3.126e-06, allocations: 0 / 348.1 MB, free: 9.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.631e-05/3.944e-05, allocations: 2.312 kB / 348.1 MB, free: 9.16 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.003833/0.003872, allocations: 1.591 MB / 349.7 MB, free: 7.566 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007573/0.00463, allocations: 319.4 kB / 350 MB, free: 7.25 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.758e-05/0.004727, allocations: 0 / 350 MB, free: 7.25 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004284/0.005156, allocations: 95.67 kB / 350.1 MB, free: 7.156 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002825/0.005438, allocations: 75.66 kB / 350.2 MB, free: 7.082 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003053/0.005743, allocations: 59.86 kB / 350.3 MB, free: 7.023 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000203/0.005946, allocations: 83.73 kB / 350.3 MB, free: 6.941 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.006069, allocations: 4 kB / 350.3 MB, free: 6.938 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.775e-05/0.006166, allocations: 43.88 kB / 350.4 MB, free: 6.895 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001384/0.006305, allocations: 43.89 kB / 350.4 MB, free: 6.852 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.46e-05/0.006329, allocations: 8 kB / 350.4 MB, free: 6.844 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.006437, allocations: 39.91 kB / 350.5 MB, free: 6.805 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.721e-05/0.006494, allocations: 15.94 kB / 350.5 MB, free: 6.789 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.512e-05/0.006529, allocations: 15.92 kB / 350.5 MB, free: 6.773 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002103/0.006739, allocations: 75.67 kB / 350.6 MB, free: 6.699 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.006744, allocations: 3.938 kB / 350.6 MB, free: 6.695 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.006746, allocations: 0 / 350.6 MB, free: 6.695 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.006751, allocations: 0 / 350.6 MB, free: 6.695 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.0004802/0.007231, allocations: 432 kB / 351 MB, free: 6.238 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.935e-05/0.007291, allocations: 8.031 kB / 351 MB, free: 6.23 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.598e-05/0.007347, allocations: 16.84 kB / 351 MB, free: 6.215 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.007507, allocations: 145.8 kB / 351.2 MB, free: 6.047 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.007519, allocations: 384 / 351.2 MB, free: 6.047 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.007543, allocations: 8.359 kB / 351.2 MB, free: 6.039 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.007686, allocations: 54.89 kB / 351.2 MB, free: 5.977 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.007701, allocations: 4.188 kB / 351.2 MB, free: 5.973 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.007712, allocations: 4.125 kB / 351.2 MB, free: 5.969 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.007721, allocations: 0 / 351.2 MB, free: 5.969 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.05e-05/0.007751, allocations: 8 kB / 351.3 MB, free: 5.961 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003289/0.00808, allocations: 264.3 kB / 351.5 MB, free: 5.676 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.008281, allocations: 42.98 kB / 351.6 MB, free: 5.621 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.202e-05/0.008303, allocations: 19.77 kB / 351.6 MB, free: 5.598 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.193e-05/0.008335, allocations: 0 / 351.6 MB, free: 5.598 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.00836, allocations: 41.33 kB / 351.6 MB, free: 5.547 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.693e-06/0.008361, allocations: 0 / 351.6 MB, free: 5.547 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003886/0.00875, allocations: 85.52 kB / 351.7 MB, free: 5.457 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.008777, allocations: 55.41 kB / 351.8 MB, free: 5.391 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.008915, allocations: 230.6 kB / 352 MB, free: 5.148 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.008925, allocations: 33.69 kB / 352 MB, free: 5.109 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.218e-05/0.008978, allocations: 146.9 kB / 352.2 MB, free: 4.961 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.017e-05/0.009008, allocations: 23.77 kB / 352.2 MB, free: 4.938 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.353e-05/0.009061, allocations: 31.36 kB / 352.2 MB, free: 4.898 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.009187, allocations: 0.4962 MB / 352.7 MB, free: 4.391 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.447e-05/0.009212, allocations: 4 kB / 352.7 MB, free: 4.387 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.734e-05/0.009229, allocations: 4 kB / 352.7 MB, free: 4.383 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.718e-05/0.009276, allocations: 27.61 kB / 352.7 MB, free: 4.352 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.009278, allocations: 0 / 352.7 MB, free: 4.352 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001213/0.009399, allocations: 61.55 kB / 352.8 MB, free: 4.285 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.00942, allocations: 4 kB / 352.8 MB, free: 4.281 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.009427, allocations: 0 / 352.8 MB, free: 4.281 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.009448, allocations: 0 / 352.8 MB, free: 4.281 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.15e-05/0.009519, allocations: 15.98 kB / 352.8 MB, free: 4.266 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.506e-06/0.009523, allocations: 4 kB / 352.8 MB, free: 4.262 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.542e-05/0.009548, allocations: 0 / 352.8 MB, free: 4.262 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.009555, allocations: 4 kB / 352.8 MB, free: 4.258 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 6.244e-05/0.009617, allocations: 152.6 kB / 353 MB, free: 4.098 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.104e-05/0.009648, allocations: 19.83 kB / 353 MB, free: 4.078 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001237/0.009772, allocations: 71.08 kB / 353.1 MB, free: 4 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.009774, allocations: 0 / 353.1 MB, free: 4 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.009777, allocations: 0 / 353.1 MB, free: 4 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.009781, allocations: 0 / 353.1 MB, free: 4 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002818/0.01006, allocations: 309.9 kB / 353.4 MB, free: 3.664 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.01006, allocations: 4 kB / 353.4 MB, free: 3.66 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.811e-05/0.01011, allocations: 11.98 kB / 353.4 MB, free: 3.648 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.01012, allocations: 0 / 353.4 MB, free: 3.648 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.01012, allocations: 4 kB / 353.4 MB, free: 3.645 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.01012, allocations: 0 / 353.4 MB, free: 3.645 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.01013, allocations: 0 / 353.4 MB, free: 3.645 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00012/0.01025, allocations: 207.8 kB / 353.6 MB, free: 3.422 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.333e-05/0.01026, allocations: 11.95 kB / 353.6 MB, free: 3.41 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.01027, allocations: 0 / 353.6 MB, free: 3.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.946e-05/0.01033, allocations: 7.984 kB / 353.6 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.815e-05/0.01037, allocations: 7.938 kB / 353.6 MB, free: 3.395 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.01037, allocations: 0 / 353.6 MB, free: 3.395 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.102e-05/0.01045, allocations: 172.1 kB / 353.8 MB, free: 3.227 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01045, allocations: 0 / 353.8 MB, free: 3.227 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002575/0.0107, allocations: 19.92 kB / 353.8 MB, free: 3.207 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.001047/0.01175, allocations: 375.7 kB / 354.2 MB, free: 2.934 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001043/0.01185, allocations: 27.67 kB / 354.2 MB, free: 2.902 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.01186, allocations: 0 / 354.2 MB, free: 2.902 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.599e-05/0.01188, allocations: 23.73 kB / 354.2 MB, free: 2.875 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.01219, allocations: 33.19 kB / 354.3 MB, free: 2.844 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000376/0.01257, allocations: 206.6 kB / 354.5 MB, free: 2.613 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.912e-05/0.01261, allocations: 71.33 kB / 354.5 MB, free: 2.523 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.742e-05/0.01265, allocations: 4 kB / 354.5 MB, free: 2.52 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.703e-05/0.0127, allocations: 78.19 kB / 354.6 MB, free: 2.441 MB / 282.7 MB Notification: Performance of SimCode: time 1.072e-06/0.0127, allocations: 0 / 354.6 MB, free: 2.441 MB / 282.7 MB Notification: Performance of Templates: time 0.00441/0.01711, allocations: 1.275 MB / 355.9 MB, free: 1.176 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.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.13436829065904]