Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.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.0009866/0.0009866, 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.001036/0.001036, 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.8818/0.8818, allocations: 158.6 MB / 185.7 MB, free: 2.918 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.1412/0.1412, allocations: 32.38 MB / 270.4 MB, free: 14.7 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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10") translateModel(ModelicaTest.Tables.CombiTable2D.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 3.938 kB / 347.7 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.61e-05, allocations: 2.312 kB / 347.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test10): time 0.002051/0.002078, allocations: 1.659 MB / 349.3 MB, free: 7.773 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008472/0.002925, allocations: 1.06 MB / 350.4 MB, free: 6.707 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.251e-05/0.002977, allocations: 0 / 350.4 MB, free: 6.707 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002077/0.003185, allocations: 31.78 kB / 350.4 MB, free: 6.676 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002103/0.003395, allocations: 43.77 kB / 350.5 MB, free: 6.633 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002174/0.003613, allocations: 107.7 kB / 350.6 MB, free: 6.527 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001227/0.003735, allocations: 59.78 kB / 350.6 MB, free: 6.469 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.556e-05/0.003831, allocations: 16.17 kB / 350.6 MB, free: 6.453 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.009e-05/0.003891, allocations: 31.91 kB / 350.7 MB, free: 6.422 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.004, allocations: 23.91 kB / 350.7 MB, free: 6.398 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.004018, allocations: 4 kB / 350.7 MB, free: 6.395 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.983e-05/0.004118, allocations: 59.84 kB / 350.8 MB, free: 6.336 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.353e-05/0.004171, allocations: 11.98 kB / 350.8 MB, free: 6.324 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.549e-05/0.004197, allocations: 15.92 kB / 350.8 MB, free: 6.309 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001709/0.004368, allocations: 87.66 kB / 350.9 MB, free: 6.223 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.004371, allocations: 0 / 350.9 MB, free: 6.223 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.004372, allocations: 0 / 350.9 MB, free: 6.223 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.004376, allocations: 0 / 350.9 MB, free: 6.223 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003592/0.004736, allocations: 412.2 kB / 351.3 MB, free: 5.785 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.004778, allocations: 12.03 kB / 351.3 MB, free: 5.773 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.765e-05/0.004826, allocations: 12.88 kB / 351.3 MB, free: 5.762 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.004963, allocations: 136.4 kB / 351.4 MB, free: 5.602 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.004973, allocations: 384 / 351.4 MB, free: 5.602 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.002e-05/0.005003, allocations: 8.359 kB / 351.4 MB, free: 5.594 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.005148, allocations: 104 kB / 351.5 MB, free: 5.469 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.005159, allocations: 4.188 kB / 351.6 MB, free: 5.465 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.005169, allocations: 3.938 kB / 351.6 MB, free: 5.461 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.005178, allocations: 0 / 351.6 MB, free: 5.461 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.592e-05/0.005213, allocations: 15.98 kB / 351.6 MB, free: 5.445 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002498/0.005463, allocations: 275.7 kB / 351.8 MB, free: 5.141 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.954e-05/0.005533, allocations: 46.98 kB / 351.9 MB, free: 5.082 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.21e-05/0.005555, allocations: 11.69 kB / 351.9 MB, free: 5.066 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.005578, allocations: 0 / 351.9 MB, free: 5.066 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.748e-05/0.005596, allocations: 33.39 kB / 351.9 MB, free: 5.023 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.482e-06/0.005597, allocations: 0 / 351.9 MB, free: 5.023 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003978/0.005995, allocations: 129.4 kB / 352.1 MB, free: 4.891 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/0.006021, allocations: 81.11 kB / 352.1 MB, free: 4.793 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.663e-05/0.006108, allocations: 185.9 kB / 352.3 MB, free: 4.594 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.703e-06/0.006115, allocations: 25.7 kB / 352.3 MB, free: 4.562 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.145e-05/0.006146, allocations: 146.8 kB / 352.5 MB, free: 4.414 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/0.006165, allocations: 19.8 kB / 352.5 MB, free: 4.395 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.458e-05/0.0062, allocations: 23.38 kB / 352.5 MB, free: 4.363 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.128e-05/0.006241, allocations: 0.4961 MB / 353 MB, free: 3.855 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.126e-05/0.006262, allocations: 4 kB / 353 MB, free: 3.852 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.422e-05/0.006296, allocations: 57.06 kB / 353.1 MB, free: 3.781 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.542e-05/0.006342, allocations: 31.92 kB / 353.1 MB, free: 3.746 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.006343, allocations: 0 / 353.1 MB, free: 3.746 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.272e-05/0.006435, allocations: 77.66 kB / 353.2 MB, free: 3.664 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.006447, allocations: 4 kB / 353.2 MB, free: 3.66 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.006452, allocations: 0 / 353.2 MB, free: 3.66 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.006469, allocations: 0 / 353.2 MB, free: 3.66 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.089e-05/0.00656, allocations: 19.98 kB / 353.2 MB, free: 3.641 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.006565, allocations: 0 / 353.2 MB, free: 3.641 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.948e-05/0.006594, allocations: 8 kB / 353.2 MB, free: 3.633 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.006601, allocations: 0 / 353.2 MB, free: 3.633 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 (7): * Single equations (assignments): 7 * 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.429e-05/0.006645, allocations: 164.5 kB / 353.4 MB, free: 3.461 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.805e-05/0.006673, allocations: 24.17 kB / 353.4 MB, free: 3.438 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001278/0.006801, allocations: 78.05 kB / 353.5 MB, free: 3.359 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.006803, allocations: 3.984 kB / 353.5 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.006806, allocations: 0 / 353.5 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.006809, allocations: 4 kB / 353.5 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002235/0.007032, allocations: 329.4 kB / 353.8 MB, free: 2.988 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.007033, allocations: 0 / 353.8 MB, free: 2.988 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.701e-05/0.00708, allocations: 19.92 kB / 353.8 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.007082, allocations: 0 / 353.8 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.341e-06/0.007089, allocations: 0 / 353.8 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.00709, allocations: 0 / 353.8 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.007091, allocations: 4 kB / 353.8 MB, free: 2.965 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.986e-05/0.007181, allocations: 215.8 kB / 354 MB, free: 2.734 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.674e-06/0.007189, allocations: 7.953 kB / 354.1 MB, free: 2.727 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.007202, allocations: 4 kB / 354.1 MB, free: 2.723 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.423e-05/0.007257, allocations: 7.984 kB / 354.1 MB, free: 2.715 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.674e-05/0.007293, allocations: 7.984 kB / 354.1 MB, free: 2.707 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.007297, allocations: 0 / 354.1 MB, free: 2.707 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.752e-05/0.007335, allocations: 145.8 kB / 354.2 MB, free: 2.566 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007335, allocations: 4 kB / 354.2 MB, free: 2.562 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002429/0.007578, allocations: 27.88 kB / 354.2 MB, free: 2.535 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 (7): * Single equations (assignments): 7 * 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.0009557/0.008533, allocations: 438.7 kB / 354.7 MB, free: 2.191 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001382/0.008672, allocations: 35.67 kB / 354.7 MB, free: 2.152 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.008674, allocations: 0 / 354.7 MB, free: 2.152 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.368e-05/0.008708, allocations: 31.59 kB / 354.7 MB, free: 2.117 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.008992, allocations: 23.89 kB / 354.8 MB, free: 2.094 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003959/0.009388, allocations: 190.5 kB / 355 MB, free: 1.879 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.838e-05/0.009426, allocations: 59.34 kB / 355 MB, free: 1.801 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.25e-05/0.009479, allocations: 15.98 kB / 355 MB, free: 1.785 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.281e-05/0.009522, allocations: 20.48 kB / 355 MB, free: 1.766 MB / 282.7 MB Notification: Performance of SimCode: time 8.42e-07/0.009523, allocations: 0 / 355 MB, free: 1.766 MB / 282.7 MB Notification: Performance of Templates: time 0.003588/0.01311, allocations: 1.585 MB / 356.6 MB, free: 196 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test10/Test10.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.13286696607247]