Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.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.001048/0.001048, allocations: 81.86 kB / 21.44 MB, free: 3.055 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.001388/0.001388, allocations: 164.4 kB / 24.84 MB, free: 9.293 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.942/0.942, allocations: 158.6 MB / 186.7 MB, free: 2.773 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.1379/0.1379, allocations: 32.37 MB / 271.5 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.CombiTable2D.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9") translateModel(ModelicaTest.Tables.CombiTable2D.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 348.9 MB, free: 9.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.065e-05/2.182e-05, allocations: 6.25 kB / 348.9 MB, free: 9.156 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test9): time 0.008111/0.008132, allocations: 1.599 MB / 350.5 MB, free: 7.547 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004506/0.008583, allocations: 307.4 kB / 350.8 MB, free: 7.242 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.396e-05/0.008627, allocations: 4 kB / 350.8 MB, free: 7.238 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004131/0.00904, allocations: 451.1 kB / 351.3 MB, free: 6.797 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002393/0.009279, allocations: 255.4 kB / 351.5 MB, free: 6.547 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000184/0.009463, allocations: 107.7 kB / 351.6 MB, free: 6.441 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001479/0.009611, allocations: 159.6 kB / 351.8 MB, free: 6.285 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.838e-05/0.00969, allocations: 7.984 kB / 351.8 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.348e-05/0.009783, allocations: 111.8 kB / 351.9 MB, free: 6.168 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/0.009943, allocations: 243.6 kB / 352.1 MB, free: 5.93 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.009958, allocations: 0 / 352.1 MB, free: 5.93 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.048e-05/0.01001, allocations: 31.92 kB / 352.2 MB, free: 5.898 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.979e-05/0.01008, allocations: 75.72 kB / 352.2 MB, free: 5.824 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.812e-05/0.01011, allocations: 39.73 kB / 352.3 MB, free: 5.785 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001634/0.01027, allocations: 191.2 kB / 352.5 MB, free: 5.598 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.01027, allocations: 0 / 352.5 MB, free: 5.598 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.01027, allocations: 0 / 352.5 MB, free: 5.598 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.01028, allocations: 0 / 352.5 MB, free: 5.598 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.003418/0.0137, allocations: 0.6815 MB / 353.1 MB, free: 4.879 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.998e-05/0.01373, allocations: 8.031 kB / 353.2 MB, free: 4.871 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.01377, allocations: 44.66 kB / 353.2 MB, free: 4.828 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.01392, allocations: 244.9 kB / 353.4 MB, free: 4.562 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-06/0.01393, allocations: 4.375 kB / 353.4 MB, free: 4.559 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.733e-06/0.01394, allocations: 4.375 kB / 353.4 MB, free: 4.555 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.784e-05/0.01403, allocations: 54.94 kB / 353.5 MB, free: 4.492 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.523e-06/0.01403, allocations: 192 / 353.5 MB, free: 4.492 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.074e-06/0.01404, allocations: 8.125 kB / 353.5 MB, free: 4.484 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.01404, allocations: 0 / 353.5 MB, free: 4.484 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.822e-05/0.01406, allocations: 11.94 kB / 353.5 MB, free: 4.473 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002346/0.0143, allocations: 320.3 kB / 353.8 MB, free: 4.133 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.871e-05/0.01435, allocations: 35.06 kB / 353.9 MB, free: 4.086 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.356e-05/0.01436, allocations: 19.77 kB / 353.9 MB, free: 4.062 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.01437, allocations: 0 / 353.9 MB, free: 4.062 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.408e-05/0.01439, allocations: 37.33 kB / 353.9 MB, free: 4.016 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 6.51e-07/0.01439, allocations: 4 kB / 353.9 MB, free: 4.012 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001269/0.01451, allocations: 89.47 kB / 354 MB, free: 3.918 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.877e-05/0.01453, allocations: 55.41 kB / 354.1 MB, free: 3.852 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003274/0.01486, allocations: 0.5962 MB / 354.7 MB, free: 3.238 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.44e-06/0.01487, allocations: 25.7 kB / 354.7 MB, free: 3.207 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.01499, allocations: 290.7 kB / 355 MB, free: 2.918 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.595e-05/0.015, allocations: 7.953 kB / 355 MB, free: 2.91 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.9e-05/0.01503, allocations: 27.36 kB / 355 MB, free: 2.875 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.239e-05/0.01511, allocations: 0.5586 MB / 355.6 MB, free: 2.305 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.082e-05/0.01512, allocations: 3.938 kB / 355.6 MB, free: 2.301 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.027e-06/0.01513, allocations: 4 kB / 355.6 MB, free: 2.297 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.544e-05/0.01516, allocations: 15.62 kB / 355.6 MB, free: 2.277 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.01516, allocations: 0 / 355.6 MB, free: 2.277 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.637e-05/0.01524, allocations: 85.41 kB / 355.7 MB, free: 2.188 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.01525, allocations: 7.938 kB / 355.7 MB, free: 2.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.01525, allocations: 0 / 355.7 MB, free: 2.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.01526, allocations: 4 kB / 355.7 MB, free: 2.176 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.644e-05/0.01532, allocations: 7.984 kB / 355.7 MB, free: 2.168 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-06/0.01532, allocations: 4 kB / 355.7 MB, free: 2.164 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.112e-05/0.01535, allocations: 4 kB / 355.7 MB, free: 2.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.01536, allocations: 0 / 355.7 MB, free: 2.16 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 (3): * Single equations (assignments): 3 * 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.365e-05/0.01541, allocations: 152.6 kB / 355.8 MB, free: 2 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.629e-05/0.01545, allocations: 47.66 kB / 355.9 MB, free: 1.953 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.736e-05/0.01554, allocations: 84.98 kB / 356 MB, free: 1.859 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.01555, allocations: 0 / 356 MB, free: 1.859 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.01555, allocations: 4 kB / 356 MB, free: 1.855 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.01555, allocations: 0 / 356 MB, free: 1.855 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/0.01571, allocations: 201.1 kB / 356.2 MB, free: 1.633 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.01571, allocations: 4 kB / 356.2 MB, free: 1.629 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.647e-05/0.01573, allocations: 4 kB / 356.2 MB, free: 1.625 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.01574, allocations: 0 / 356.2 MB, free: 1.625 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.258e-06/0.01574, allocations: 4 kB / 356.2 MB, free: 1.621 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.01574, allocations: 3.938 kB / 356.2 MB, free: 1.617 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.01574, allocations: 0 / 356.2 MB, free: 1.617 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.31e-05/0.01582, allocations: 227.6 kB / 356.4 MB, free: 1.375 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.502e-05/0.01584, allocations: 39.7 kB / 356.5 MB, free: 1.336 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.01586, allocations: 4 kB / 356.5 MB, free: 1.332 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.608e-05/0.01591, allocations: 7.938 kB / 356.5 MB, free: 1.324 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.33e-05/0.01594, allocations: 0 / 356.5 MB, free: 1.324 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-06/0.01594, allocations: 8 kB / 356.5 MB, free: 1.316 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000177/0.01612, allocations: 386.7 kB / 356.9 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01612, allocations: 0 / 356.9 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002153/0.01633, allocations: 16 kB / 356.9 MB, free: 0.9258 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 (3): * Single equations (assignments): 3 * 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.003706/0.02004, allocations: 336.7 kB / 357.2 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.727e-05/0.0201, allocations: 15.69 kB / 357.2 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.02011, allocations: 0 / 357.2 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.649e-05/0.02012, allocations: 23.61 kB / 357.2 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.0204, allocations: 29.91 kB / 357.3 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005137/0.02092, allocations: 0.5548 MB / 357.8 MB, free: 20 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001024/0.02102, allocations: 111.3 kB / 357.9 MB, free: 15.89 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.836e-05/0.02105, allocations: 11.97 kB / 357.9 MB, free: 15.88 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.621e-05/0.02111, allocations: 78.2 kB / 358 MB, free: 15.8 MB / 298.7 MB Notification: Performance of SimCode: time 5.71e-07/0.02111, allocations: 0 / 358 MB, free: 15.8 MB / 298.7 MB Notification: Performance of Templates: time 0.0069/0.02801, allocations: 1.365 MB / 359.4 MB, free: 14.44 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test9/Test9.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.104799770284444]