Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.001326/0.001326, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001928/0.001928, allocations: 210.6 kB / 23.73 MB, free: 4.387 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.457/1.457, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2244/0.2244, allocations: 46.96 MB / 360.9 MB, free: 4.016 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.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002273/0.002273, allocations: 63.91 kB / 0.4961 GB, free: 7.672 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3251, allocations: 66.04 MB / 0.5606 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.004032/0.3291, allocations: 1.67 MB / 0.5623 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001216/0.3304, allocations: 0.5348 MB / 0.5628 GB, free: 2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.724e-05/0.3304, allocations: 0 / 0.5628 GB, free: 2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007186/0.3311, allocations: 459.1 kB / 0.5632 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005847/0.3317, allocations: 295.3 kB / 0.5635 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003973/0.3321, allocations: 131.4 kB / 0.5636 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003007/0.3324, allocations: 171.6 kB / 0.5638 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.3326, allocations: 25.8 kB / 0.5638 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/0.3327, allocations: 111.7 kB / 0.5639 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003477/0.333, allocations: 247.5 kB / 0.5641 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.3331, allocations: 4 kB / 0.5642 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.3332, allocations: 51.92 kB / 0.5642 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001288/0.3333, allocations: 83.69 kB / 0.5643 GB, free: 468 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.672e-05/0.3334, allocations: 75.23 kB / 0.5644 GB, free: 392 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003768/0.3338, allocations: 286.5 kB / 0.5646 GB, free: 104 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3338, allocations: 0 / 0.5646 GB, free: 104 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3338, allocations: 0 / 0.5646 GB, free: 104 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.3338, allocations: 0 / 0.5646 GB, free: 104 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008463/0.3346, allocations: 0.5971 MB / 0.5652 GB, free: 15.47 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.3347, allocations: 8.031 kB / 0.5652 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.679e-05/0.3347, allocations: 38.69 kB / 0.5653 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.72e-05/0.3348, allocations: 48.64 kB / 0.5653 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000304/0.3351, allocations: 246.8 kB / 0.5655 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.3351, allocations: 12.38 kB / 0.5655 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.082e-05/0.3351, allocations: 384 / 0.5655 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.3353, allocations: 57.62 kB / 0.5656 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.3353, allocations: 3.938 kB / 0.5656 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.3353, allocations: 0 / 0.5656 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.3353, allocations: 7.984 kB / 0.5656 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.3355, allocations: 27.98 kB / 0.5656 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000583/0.336, allocations: 359.8 kB / 0.566 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.3362, allocations: 46.59 kB / 0.566 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.264e-05/0.3362, allocations: 20.94 kB / 0.566 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.9e-05/0.3362, allocations: 4 kB / 0.5661 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.3363, allocations: 30.56 kB / 0.5661 GB, free: 14.47 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3363, allocations: 0 / 0.5661 GB, free: 14.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001052/0.3373, allocations: 316.8 kB / 0.5664 GB, free: 14.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/0.3374, allocations: 59.28 kB / 0.5664 GB, free: 14.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009317/0.3383, allocations: 0.8738 MB / 0.5673 GB, free: 13.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.3383, allocations: 25.7 kB / 0.5673 GB, free: 13.17 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002108/0.3385, allocations: 232 kB / 0.5675 GB, free: 12.94 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.866e-05/0.3386, allocations: 31.73 kB / 0.5676 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.441e-05/0.3386, allocations: 21.7 kB / 0.5676 GB, free: 12.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.3388, allocations: 362.8 kB / 0.5679 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.151e-05/0.3389, allocations: 27.97 kB / 0.568 GB, free: 12.49 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.33e-05/0.339, allocations: 23.98 kB / 0.568 GB, free: 12.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/0.3391, allocations: 68.83 kB / 0.5681 GB, free: 12.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3391, allocations: 0 / 0.5681 GB, free: 12.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000299/0.3394, allocations: 125.4 kB / 0.5682 GB, free: 12.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.3394, allocations: 8 kB / 0.5682 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.3394, allocations: 0 / 0.5682 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.3395, allocations: 0 / 0.5682 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.3396, allocations: 27.86 kB / 0.5682 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.3396, allocations: 4 kB / 0.5682 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.706e-05/0.3396, allocations: 15.92 kB / 0.5682 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.3396, allocations: 320 / 0.5682 GB, free: 12.21 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 (8): * Single equations (assignments): 8 * 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.0001992/0.3398, allocations: 209.8 kB / 0.5684 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.496e-05/0.3399, allocations: 47.67 kB / 0.5685 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003467/0.3403, allocations: 169.5 kB / 0.5686 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.3403, allocations: 3.938 kB / 0.5686 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3403, allocations: 4 kB / 0.5686 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.3403, allocations: 4 kB / 0.5686 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006614/0.3409, allocations: 474.3 kB / 0.5691 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3409, allocations: 0 / 0.5691 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.301e-05/0.341, allocations: 19.98 kB / 0.5691 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.341, allocations: 4 kB / 0.5691 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-06/0.341, allocations: 0 / 0.5691 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.341, allocations: 0 / 0.5691 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.341, allocations: 0 / 0.5691 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003171/0.3413, allocations: 252 kB / 0.5694 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.243e-05/0.3414, allocations: 35.72 kB / 0.5694 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.887e-05/0.3414, allocations: 4 kB / 0.5694 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.379e-05/0.3415, allocations: 7.984 kB / 0.5694 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.07e-05/0.3416, allocations: 3.984 kB / 0.5694 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.3416, allocations: 4 kB / 0.5694 GB, free: 10.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007187/0.3423, allocations: 0.655 MB / 0.5701 GB, free: 10.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3423, allocations: 0 / 0.5701 GB, free: 10.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003051/0.3426, allocations: 35.92 kB / 0.5701 GB, free: 10.21 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.002428/0.345, allocations: 1.174 MB / 0.5712 GB, free: 9.223 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002551/0.3453, allocations: 71.94 kB / 0.5713 GB, free: 9.152 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3453, allocations: 0 / 0.5713 GB, free: 9.152 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.256e-05/0.3454, allocations: 36.08 kB / 0.5713 GB, free: 9.117 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000478/0.3458, allocations: 30.44 kB / 0.5714 GB, free: 9.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004131/0.35, allocations: 3.329 MB / 0.5746 GB, free: 5.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/0.3502, allocations: 224.1 kB / 0.5748 GB, free: 5.426 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.515e-05/0.3503, allocations: 12.44 kB / 0.5748 GB, free: 5.414 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001569/0.3505, allocations: 107.4 kB / 0.5749 GB, free: 5.309 MB / 414.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3505, allocations: 0 / 0.5749 GB, free: 5.309 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03558/0.386, allocations: 6.906 MB / 0.5817 GB, free: 14.45 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.55, allocations: 7.234 kB / 0.5817 GB, free: 14.45 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test1_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test1.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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: 14.518518052063882]