Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.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.0009879/0.0009879, allocations: 80.2 kB / 20.65 MB, free: 3.836 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.001191/0.001191, allocations: 173 kB / 24.06 MB, free: 444 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.042/1.042, allocations: 158.6 MB / 186 MB, free: 2.418 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.152/0.152, allocations: 32.38 MB / 270.7 MB, free: 14.48 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 348.1 MB, free: 9.152 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.797e-05/3e-05, allocations: 9.344 kB / 348.1 MB, free: 9.145 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.003108/0.003138, allocations: 1.591 MB / 349.7 MB, free: 7.543 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006418/0.00378, allocations: 327.3 kB / 350.1 MB, free: 7.219 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.942e-05/0.003859, allocations: 0 / 350.1 MB, free: 7.219 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005719/0.004431, allocations: 459 kB / 350.5 MB, free: 6.77 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003579/0.004789, allocations: 251.4 kB / 350.8 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004031/0.005192, allocations: 143.6 kB / 350.9 MB, free: 6.383 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002462/0.005438, allocations: 163.6 kB / 351.1 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.005556, allocations: 12 kB / 351.1 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.005682, allocations: 115.8 kB / 351.2 MB, free: 6.098 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002207/0.005902, allocations: 235.6 kB / 351.4 MB, free: 5.867 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.429e-05/0.005927, allocations: 0 / 351.4 MB, free: 5.867 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.933e-05/0.006016, allocations: 23.98 kB / 351.4 MB, free: 5.844 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.006122, allocations: 87.7 kB / 351.5 MB, free: 5.758 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.993e-05/0.006172, allocations: 31.69 kB / 351.5 MB, free: 5.727 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002541/0.006426, allocations: 191.2 kB / 351.7 MB, free: 5.539 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.00643, allocations: 0 / 351.7 MB, free: 5.539 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.006432, allocations: 0 / 351.7 MB, free: 5.539 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.006437, allocations: 0 / 351.7 MB, free: 5.539 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.0006451/0.007082, allocations: 0.6815 MB / 352.4 MB, free: 4.82 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.007129, allocations: 12.03 kB / 352.4 MB, free: 4.809 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.69e-05/0.007196, allocations: 44.66 kB / 352.5 MB, free: 4.766 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.007417, allocations: 248.8 kB / 352.7 MB, free: 4.496 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.00743, allocations: 4.312 kB / 352.7 MB, free: 4.492 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.007441, allocations: 8.375 kB / 352.7 MB, free: 4.484 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.007572, allocations: 46.95 kB / 352.8 MB, free: 4.43 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.007582, allocations: 4.188 kB / 352.8 MB, free: 4.426 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.007592, allocations: 4.125 kB / 352.8 MB, free: 4.422 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.0076, allocations: 4 kB / 352.8 MB, free: 4.418 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.422e-05/0.007624, allocations: 8 kB / 352.8 MB, free: 4.41 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004471/0.008071, allocations: 324.3 kB / 353.1 MB, free: 4.066 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.34e-05/0.008154, allocations: 38.97 kB / 353.1 MB, free: 4.016 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.087e-05/0.008175, allocations: 7.688 kB / 353.2 MB, free: 4.004 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.601e-05/0.008211, allocations: 8.047 kB / 353.2 MB, free: 3.996 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.008236, allocations: 41.33 kB / 353.2 MB, free: 3.945 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 1.793e-06/0.008238, allocations: 4 kB / 353.2 MB, free: 3.941 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001799/0.008418, allocations: 73.41 kB / 353.3 MB, free: 3.863 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.53e-05/0.008443, allocations: 55.41 kB / 353.3 MB, free: 3.797 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004439/0.008887, allocations: 0.5961 MB / 353.9 MB, free: 3.184 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.728e-06/0.008896, allocations: 29.7 kB / 354 MB, free: 3.148 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.009069, allocations: 298.7 kB / 354.2 MB, free: 2.852 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.00909, allocations: 7.891 kB / 354.3 MB, free: 2.844 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-05/0.009133, allocations: 19.38 kB / 354.3 MB, free: 2.816 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.009245, allocations: 0.5547 MB / 354.8 MB, free: 2.25 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.338e-05/0.009258, allocations: 0 / 354.8 MB, free: 2.25 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.099e-05/0.009269, allocations: 8.125 kB / 354.8 MB, free: 2.242 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.227e-05/0.009301, allocations: 11.69 kB / 354.8 MB, free: 2.227 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.009305, allocations: 3.984 kB / 354.9 MB, free: 2.223 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001189/0.009424, allocations: 85.3 kB / 354.9 MB, free: 2.133 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.009446, allocations: 4 kB / 354.9 MB, free: 2.129 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.009454, allocations: 0 / 354.9 MB, free: 2.129 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.009474, allocations: 0 / 354.9 MB, free: 2.129 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.529e-05/0.009549, allocations: 4 kB / 354.9 MB, free: 2.125 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.009555, allocations: 4 kB / 354.9 MB, free: 2.121 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.575e-05/0.00959, allocations: 8.078 kB / 355 MB, free: 2.113 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.992e-06/0.009596, allocations: 0 / 355 MB, free: 2.113 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 (2): * Single equations (assignments): 2 * 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.681e-05/0.009663, allocations: 152.6 kB / 355.1 MB, free: 1.953 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.823e-05/0.009711, allocations: 47.66 kB / 355.1 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001274/0.009839, allocations: 72.75 kB / 355.2 MB, free: 1.828 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.009841, allocations: 0 / 355.2 MB, free: 1.828 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-06/0.009843, allocations: 0 / 355.2 MB, free: 1.828 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.009846, allocations: 3.938 kB / 355.2 MB, free: 1.824 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002251/0.01007, allocations: 193.1 kB / 355.4 MB, free: 1.609 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.01007, allocations: 0 / 355.4 MB, free: 1.609 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.839e-05/0.01011, allocations: 8.031 kB / 355.4 MB, free: 1.602 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.01011, allocations: 0 / 355.4 MB, free: 1.602 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.01012, allocations: 4 kB / 355.4 MB, free: 1.598 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.01012, allocations: 3.938 kB / 355.4 MB, free: 1.594 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.01013, allocations: 0 / 355.4 MB, free: 1.594 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/0.01026, allocations: 227.6 kB / 355.7 MB, free: 1.352 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.638e-05/0.01029, allocations: 35.72 kB / 355.7 MB, free: 1.316 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.01031, allocations: 0 / 355.7 MB, free: 1.316 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.008e-05/0.01038, allocations: 3.938 kB / 355.7 MB, free: 1.312 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.671e-05/0.01041, allocations: 11.98 kB / 355.7 MB, free: 1.301 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.01041, allocations: 4.031 kB / 355.7 MB, free: 1.297 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002486/0.01066, allocations: 386.7 kB / 356.1 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01066, allocations: 0 / 356.1 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003026/0.01097, allocations: 27.8 kB / 356.1 MB, free: 0.8945 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 (2): * Single equations (assignments): 2 * 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.001039/0.01201, allocations: 320.6 kB / 356.4 MB, free: 0.668 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.869e-05/0.01209, allocations: 19.67 kB / 356.4 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.0121, allocations: 0 / 356.4 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.599e-05/0.01211, allocations: 11.75 kB / 356.5 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003934/0.01251, allocations: 25.95 kB / 356.5 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007935/0.0133, allocations: 0.5542 MB / 357 MB, free: 12 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001452/0.01344, allocations: 115.3 kB / 357.1 MB, free: 15.88 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.957e-05/0.01348, allocations: 15.91 kB / 357.2 MB, free: 15.86 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.932e-05/0.01355, allocations: 74.2 kB / 357.2 MB, free: 15.79 MB / 298.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01355, allocations: 0 / 357.2 MB, free: 15.79 MB / 298.7 MB Notification: Performance of Templates: time 0.004993/0.01855, allocations: 1.263 MB / 358.5 MB, free: 14.54 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.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.149778451770544]