Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.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.0009172/0.0009172, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001109/0.001109, allocations: 169 kB / 24.25 MB, free: 308 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 1.03/1.03, allocations: 158.6 MB / 186 MB, free: 2.496 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.1526/0.1526, allocations: 32.37 MB / 270.7 MB, free: 14.75 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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,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.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 3.938 kB / 347.7 MB, free: 9.766 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/2.054e-05, allocations: 4.281 kB / 347.7 MB, free: 9.762 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.001782/0.001802, allocations: 1.592 MB / 349.3 MB, free: 8.164 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004686/0.002271, allocations: 319.4 kB / 349.6 MB, free: 7.848 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.96e-05/0.00233, allocations: 3.938 kB / 349.6 MB, free: 7.844 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002196/0.00255, allocations: 19.92 kB / 349.6 MB, free: 7.824 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001648/0.002715, allocations: 39.7 kB / 349.6 MB, free: 7.785 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001685/0.002883, allocations: 71.73 kB / 349.7 MB, free: 7.715 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.00301, allocations: 59.81 kB / 349.8 MB, free: 7.656 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.396e-05/0.003104, allocations: 8 kB / 349.8 MB, free: 7.648 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.668e-05/0.003151, allocations: 23.92 kB / 349.8 MB, free: 7.625 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.708e-05/0.003198, allocations: 19.97 kB / 349.8 MB, free: 7.605 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.003213, allocations: 7.938 kB / 349.8 MB, free: 7.598 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.278e-05/0.003266, allocations: 31.92 kB / 349.9 MB, free: 7.566 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.841e-05/0.003304, allocations: 8 kB / 349.9 MB, free: 7.559 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.473e-05/0.003329, allocations: 11.94 kB / 349.9 MB, free: 7.547 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.003454, allocations: 63.73 kB / 349.9 MB, free: 7.484 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.003456, allocations: 0 / 349.9 MB, free: 7.484 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.003456, allocations: 0 / 349.9 MB, free: 7.484 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.003461, allocations: 0 / 349.9 MB, free: 7.484 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.0002924/0.003753, allocations: 404.2 kB / 350.3 MB, free: 7.055 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.003786, allocations: 12.03 kB / 350.3 MB, free: 7.043 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.628e-05/0.003822, allocations: 8.891 kB / 350.4 MB, free: 7.035 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.003937, allocations: 132.4 kB / 350.5 MB, free: 6.879 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.003947, allocations: 8.375 kB / 350.5 MB, free: 6.871 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.003968, allocations: 384 / 350.5 MB, free: 6.871 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.644e-05/0.004064, allocations: 54.89 kB / 350.5 MB, free: 6.809 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.004073, allocations: 4.188 kB / 350.5 MB, free: 6.805 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.004082, allocations: 4.125 kB / 350.6 MB, free: 6.801 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.892e-06/0.004088, allocations: 0 / 350.6 MB, free: 6.801 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.979e-05/0.004118, allocations: 11.98 kB / 350.6 MB, free: 6.789 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002249/0.004343, allocations: 267.8 kB / 350.8 MB, free: 6.492 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/0.004493, allocations: 47.05 kB / 350.9 MB, free: 6.434 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.054e-05/0.004514, allocations: 11.69 kB / 350.9 MB, free: 6.418 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.004534, allocations: 8.016 kB / 350.9 MB, free: 6.41 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.651e-05/0.004551, allocations: 33.39 kB / 350.9 MB, free: 6.367 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.004552, allocations: 0 / 350.9 MB, free: 6.367 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.000337/0.004889, allocations: 93.52 kB / 351 MB, free: 6.27 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/0.004915, allocations: 51.41 kB / 351.1 MB, free: 6.207 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.279e-05/0.004997, allocations: 188 kB / 351.2 MB, free: 6.008 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.643e-06/0.005004, allocations: 33.7 kB / 351.3 MB, free: 5.969 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.215e-05/0.005036, allocations: 138.8 kB / 351.4 MB, free: 5.828 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.207e-05/0.005058, allocations: 23.83 kB / 351.4 MB, free: 5.805 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.632e-05/0.005085, allocations: 23.38 kB / 351.5 MB, free: 5.773 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.448e-05/0.005139, allocations: 0.4923 MB / 352 MB, free: 5.27 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.64e-05/0.005155, allocations: 7.938 kB / 352 MB, free: 5.262 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.322e-05/0.005169, allocations: 4 kB / 352 MB, free: 5.258 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.132e-05/0.0052, allocations: 23.88 kB / 352 MB, free: 5.23 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.005201, allocations: 0 / 352 MB, free: 5.23 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.176e-05/0.005263, allocations: 65.58 kB / 352.1 MB, free: 5.16 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.005274, allocations: 4 kB / 352.1 MB, free: 5.156 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.005279, allocations: 0 / 352.1 MB, free: 5.156 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.005293, allocations: 4 kB / 352.1 MB, free: 5.152 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.684e-05/0.005329, allocations: 15.92 kB / 352.1 MB, free: 5.137 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.005335, allocations: 4 kB / 352.1 MB, free: 5.133 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.52e-05/0.00535, allocations: 0 / 352.1 MB, free: 5.133 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.005355, allocations: 4 kB / 352.1 MB, free: 5.129 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.312e-05/0.005399, allocations: 156.6 kB / 352.2 MB, free: 4.965 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.586e-05/0.005414, allocations: 11.89 kB / 352.3 MB, free: 4.953 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.501e-05/0.005509, allocations: 66.14 kB / 352.3 MB, free: 4.883 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.005511, allocations: 0 / 352.3 MB, free: 4.883 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.005515, allocations: 3.938 kB / 352.3 MB, free: 4.879 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.005519, allocations: 4.281 kB / 352.3 MB, free: 4.875 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001654/0.005684, allocations: 321.3 kB / 352.6 MB, free: 4.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.005686, allocations: 0 / 352.6 MB, free: 4.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.275e-05/0.005708, allocations: 11.98 kB / 352.6 MB, free: 4.508 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.00571, allocations: 3.984 kB / 352.7 MB, free: 4.504 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.005717, allocations: 4 kB / 352.7 MB, free: 4.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.005718, allocations: 192 / 352.7 MB, free: 4.5 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.005719, allocations: 4 kB / 352.7 MB, free: 4.496 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.011e-05/0.005789, allocations: 211.8 kB / 352.9 MB, free: 4.27 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.847e-06/0.005798, allocations: 7.953 kB / 352.9 MB, free: 4.262 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.00581, allocations: 4 kB / 352.9 MB, free: 4.258 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.856e-05/0.005838, allocations: 0 / 352.9 MB, free: 4.258 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.277e-05/0.005871, allocations: 7.984 kB / 352.9 MB, free: 4.25 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.005874, allocations: 4 kB / 352.9 MB, free: 4.246 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.585e-05/0.00591, allocations: 143.7 kB / 353 MB, free: 4.105 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.00591, allocations: 0 / 353 MB, free: 4.105 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001551/0.006065, allocations: 15.92 kB / 353 MB, free: 4.09 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.0007069/0.006772, allocations: 375.2 kB / 353.4 MB, free: 3.812 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.222e-05/0.006855, allocations: 27.67 kB / 353.4 MB, free: 3.781 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.006856, allocations: 3.938 kB / 353.4 MB, free: 3.777 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.907e-05/0.006875, allocations: 19.67 kB / 353.5 MB, free: 3.754 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002009/0.007076, allocations: 25.11 kB / 353.5 MB, free: 3.73 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000257/0.007333, allocations: 166 kB / 353.6 MB, free: 3.539 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.521e-05/0.007359, allocations: 55.36 kB / 353.7 MB, free: 3.465 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.468e-05/0.007383, allocations: 11.97 kB / 353.7 MB, free: 3.453 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.297e-05/0.007406, allocations: 16.5 kB / 353.7 MB, free: 3.438 MB / 282.7 MB Notification: Performance of SimCode: time 3.91e-07/0.007407, allocations: 0 / 353.7 MB, free: 3.438 MB / 282.7 MB Notification: Performance of Templates: time 0.002575/0.009982, allocations: 1.143 MB / 354.9 MB, free: 2.305 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.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.231066996930167]