Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.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.001309/0.001309, allocations: 115.6 kB / 20.43 MB, free: 1.449 MB / 14.72 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.001589/0.001589, allocations: 213.4 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.478/1.478, allocations: 230.6 MB / 257.5 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2304/0.2304, allocations: 46.93 MB / 360.9 MB, free: 4.258 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test6,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test6,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 63.91 kB / 0.4962 GB, free: 7.883 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3298, allocations: 66.04 MB / 0.5607 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.003411/0.3332, allocations: 1.675 MB / 0.5623 GB, free: 2.773 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001104/0.3343, allocations: 0.5737 MB / 0.5629 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.329e-05/0.3343, allocations: 0 / 0.5629 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006016/0.3349, allocations: 451.1 kB / 0.5633 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004673/0.3354, allocations: 295.3 kB / 0.5636 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003349/0.3358, allocations: 131 kB / 0.5637 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002489/0.336, allocations: 179.7 kB / 0.5639 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.514e-05/0.3361, allocations: 13.81 kB / 0.5639 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/0.3362, allocations: 119.6 kB / 0.564 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002843/0.3365, allocations: 247.5 kB / 0.5642 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.3365, allocations: 4 kB / 0.5642 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.222e-05/0.3366, allocations: 31.98 kB / 0.5643 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.3367, allocations: 87.67 kB / 0.5644 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.3368, allocations: 110.9 kB / 0.5645 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003302/0.3372, allocations: 266.6 kB / 0.5647 GB, free: 308 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3372, allocations: 0 / 0.5647 GB, free: 308 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3372, allocations: 0 / 0.5647 GB, free: 308 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.3372, allocations: 0 / 0.5647 GB, free: 308 kB / 398.1 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.0007669/0.338, allocations: 0.6048 MB / 0.5653 GB, free: 15.66 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.338, allocations: 12.03 kB / 0.5653 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.995e-05/0.338, allocations: 30.75 kB / 0.5653 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.204e-05/0.3381, allocations: 44.66 kB / 0.5654 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002927/0.3384, allocations: 246.8 kB / 0.5656 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.3384, allocations: 8.375 kB / 0.5656 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.3384, allocations: 384 / 0.5656 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.3386, allocations: 65.55 kB / 0.5657 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.3386, allocations: 0 / 0.5657 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.3386, allocations: 0 / 0.5657 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.3386, allocations: 4 kB / 0.5657 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.3388, allocations: 35.95 kB / 0.5657 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004874/0.3392, allocations: 367.8 kB / 0.5661 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.3394, allocations: 46.48 kB / 0.5661 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.839e-05/0.3394, allocations: 20.94 kB / 0.5661 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.828e-05/0.3395, allocations: 8.062 kB / 0.5662 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/0.3395, allocations: 38.55 kB / 0.5662 GB, free: 14.65 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.3395, allocations: 0 / 0.5662 GB, free: 14.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008301/0.3403, allocations: 292.6 kB / 0.5665 GB, free: 14.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.3404, allocations: 55.34 kB / 0.5665 GB, free: 14.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000925/0.3413, allocations: 0.8815 MB / 0.5674 GB, free: 13.4 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.3413, allocations: 29.7 kB / 0.5674 GB, free: 13.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/0.3415, allocations: 216.1 kB / 0.5676 GB, free: 13.15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/0.3415, allocations: 15.81 kB / 0.5676 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.767e-05/0.3416, allocations: 25.7 kB / 0.5677 GB, free: 13.1 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.3418, allocations: 358.8 kB / 0.568 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.3419, allocations: 31.97 kB / 0.568 GB, free: 12.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.342, allocations: 35.97 kB / 0.5681 GB, free: 12.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002109/0.3422, allocations: 76.97 kB / 0.5681 GB, free: 12.6 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.3422, allocations: 0 / 0.5681 GB, free: 12.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003026/0.3425, allocations: 157.3 kB / 0.5683 GB, free: 12.44 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.3425, allocations: 10.81 kB / 0.5683 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.3425, allocations: 0 / 0.5683 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.3425, allocations: 0 / 0.5683 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.3427, allocations: 23.92 kB / 0.5683 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.3427, allocations: 0 / 0.5683 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.366e-05/0.3427, allocations: 15.86 kB / 0.5683 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.3428, allocations: 4 kB / 0.5683 GB, free: 12.39 MB / 414.1 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 0.000199/0.343, allocations: 217.7 kB / 0.5685 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.2e-05/0.343, allocations: 47.7 kB / 0.5686 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003686/0.3434, allocations: 165.5 kB / 0.5687 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3434, allocations: 0 / 0.5687 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3434, allocations: 0 / 0.5687 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.3434, allocations: 3.938 kB / 0.5688 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006844/0.3441, allocations: 481.4 kB / 0.5692 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.3441, allocations: 3.984 kB / 0.5692 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.33e-05/0.3442, allocations: 15.98 kB / 0.5692 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.3442, allocations: 4 kB / 0.5692 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/0.3442, allocations: 3.938 kB / 0.5692 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.3442, allocations: 0 / 0.5692 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3442, allocations: 0 / 0.5692 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003634/0.3446, allocations: 243.2 kB / 0.5695 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.989e-05/0.3446, allocations: 39.7 kB / 0.5695 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.948e-05/0.3447, allocations: 7.938 kB / 0.5695 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.3448, allocations: 11.98 kB / 0.5695 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.87e-05/0.3448, allocations: 0 / 0.5695 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.3448, allocations: 15.98 kB / 0.5695 GB, free: 11.06 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006419/0.3454, allocations: 0.655 MB / 0.5702 GB, free: 10.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3454, allocations: 0 / 0.5702 GB, free: 10.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002654/0.3457, allocations: 27.98 kB / 0.5702 GB, free: 10.38 MB / 414.1 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.002067/0.3478, allocations: 1.081 MB / 0.5713 GB, free: 9.434 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003024/0.3481, allocations: 87.84 kB / 0.5713 GB, free: 9.348 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3481, allocations: 0 / 0.5713 GB, free: 9.348 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.3482, allocations: 39.97 kB / 0.5714 GB, free: 9.309 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004442/0.3486, allocations: 30.3 kB / 0.5714 GB, free: 9.281 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004093/0.3527, allocations: 3.327 MB / 0.5747 GB, free: 5.859 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004823/0.3532, allocations: 0.8221 MB / 0.5755 GB, free: 5.012 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.316e-05/0.3533, allocations: 16.59 kB / 0.5755 GB, free: 4.996 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/0.3534, allocations: 107.4 kB / 0.5756 GB, free: 4.891 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3534, allocations: 0 / 0.5756 GB, free: 4.891 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03277/0.3862, allocations: 6.356 MB / 0.5818 GB, free: 14.61 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/11.98, allocations: 7.688 kB / 0.5818 GB, free: 14.6 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test6_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test6.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.032284973887727]