Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.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.001276/0.001276, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001571/0.001571, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.504/1.504, allocations: 230.6 MB / 258.3 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2284/0.2284, allocations: 44.94 MB / 359.6 MB, free: 6.078 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test27",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test27",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002152/0.002152, allocations: 67.91 kB / 0.4938 GB, free: 10.51 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3409, allocations: 65.47 MB / 0.5578 GB, free: 7.355 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test27): time 0.003291/0.3442, allocations: 1.665 MB / 0.5594 GB, free: 5.895 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001058/0.3453, allocations: 0.5231 MB / 0.5599 GB, free: 5.367 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.968e-05/0.3453, allocations: 0 / 0.5599 GB, free: 5.367 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002682/0.3456, allocations: 59.8 kB / 0.5599 GB, free: 5.309 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003548/0.346, allocations: 107.5 kB / 0.56 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003737/0.3463, allocations: 143.3 kB / 0.5602 GB, free: 5.066 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001814/0.3465, allocations: 79.83 kB / 0.5603 GB, free: 4.988 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.3466, allocations: 14.05 kB / 0.5603 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.119e-05/0.3467, allocations: 39.84 kB / 0.5603 GB, free: 4.934 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.3468, allocations: 59.75 kB / 0.5604 GB, free: 4.875 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.3469, allocations: 7.938 kB / 0.5604 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.347, allocations: 51.98 kB / 0.5604 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.18e-05/0.3471, allocations: 19.92 kB / 0.5604 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.834e-05/0.3471, allocations: 35.78 kB / 0.5605 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002228/0.3473, allocations: 111.5 kB / 0.5606 GB, free: 4.652 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3473, allocations: 0 / 0.5606 GB, free: 4.652 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3473, allocations: 0 / 0.5606 GB, free: 4.652 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.3473, allocations: 4 kB / 0.5606 GB, free: 4.648 MB / 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.0006354/0.348, allocations: 349.5 kB / 0.5609 GB, free: 4.277 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.348, allocations: 8.031 kB / 0.5609 GB, free: 4.27 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.383e-05/0.348, allocations: 8.125 kB / 0.5609 GB, free: 4.262 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.124e-05/0.3481, allocations: 42.75 kB / 0.561 GB, free: 4.211 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.259e-05/0.3481, allocations: 16.84 kB / 0.561 GB, free: 4.195 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/0.3483, allocations: 146.3 kB / 0.5611 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.3483, allocations: 4.375 kB / 0.5611 GB, free: 4.023 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.795e-05/0.3484, allocations: 8.125 kB / 0.5611 GB, free: 4.016 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.3485, allocations: 61.61 kB / 0.5612 GB, free: 3.949 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.3486, allocations: 0 / 0.5612 GB, free: 3.949 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.3486, allocations: 0 / 0.5612 GB, free: 3.949 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.3486, allocations: 4 kB / 0.5612 GB, free: 3.945 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001473/0.3487, allocations: 43.95 kB / 0.5613 GB, free: 3.902 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000421/0.3491, allocations: 275.8 kB / 0.5615 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002502/0.3494, allocations: 50.56 kB / 0.5616 GB, free: 3.531 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.967e-05/0.3495, allocations: 24.97 kB / 0.5616 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.3495, allocations: 0 / 0.5616 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.3495, allocations: 34.55 kB / 0.5616 GB, free: 3.461 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 9.31e-07/0.3495, allocations: 3.938 kB / 0.5616 GB, free: 3.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0015/0.351, allocations: 401 kB / 0.562 GB, free: 3.059 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.3511, allocations: 59.39 kB / 0.5621 GB, free: 2.988 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002424/0.3513, allocations: 195.2 kB / 0.5622 GB, free: 2.789 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.3513, allocations: 29.7 kB / 0.5623 GB, free: 2.754 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.902e-05/0.3514, allocations: 104.1 kB / 0.5624 GB, free: 2.648 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.18e-05/0.3515, allocations: 35.69 kB / 0.5624 GB, free: 2.613 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.189e-05/0.3515, allocations: 37.64 kB / 0.5624 GB, free: 2.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.3517, allocations: 322.8 kB / 0.5628 GB, free: 2.246 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.3518, allocations: 35.97 kB / 0.5628 GB, free: 2.211 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.352, allocations: 43.97 kB / 0.5628 GB, free: 2.168 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002521/0.3522, allocations: 101.4 kB / 0.5629 GB, free: 2.066 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.3522, allocations: 0 / 0.5629 GB, free: 2.066 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003353/0.3525, allocations: 153.4 kB / 0.5631 GB, free: 1.91 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.3526, allocations: 4 kB / 0.5631 GB, free: 1.906 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3526, allocations: 0 / 0.5631 GB, free: 1.906 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.3526, allocations: 3.938 kB / 0.5631 GB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.3527, allocations: 31.97 kB / 0.5631 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.3527, allocations: 4 kB / 0.5631 GB, free: 1.867 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.571e-05/0.3528, allocations: 8 kB / 0.5631 GB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.3528, allocations: 11.98 kB / 0.5631 GB, free: 1.848 MB / 398.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 (11): * Single equations (assignments): 11 * 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.0001152/0.3529, allocations: 125.8 kB / 0.5633 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.156e-05/0.353, allocations: 15.91 kB / 0.5633 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004075/0.3534, allocations: 159 kB / 0.5634 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.3534, allocations: 0 / 0.5634 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.3534, allocations: 0 / 0.5634 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.3534, allocations: 3.984 kB / 0.5634 GB, free: 1.523 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000692/0.3541, allocations: 439 kB / 0.5638 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.3541, allocations: 4 kB / 0.5638 GB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.3542, allocations: 23.98 kB / 0.5639 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.3542, allocations: 0 / 0.5639 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.3542, allocations: 8 kB / 0.5639 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.3542, allocations: 0 / 0.5639 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.3542, allocations: 11.98 kB / 0.5639 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003834/0.3546, allocations: 249.7 kB / 0.5641 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.697e-05/0.3546, allocations: 23.83 kB / 0.5641 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.504e-05/0.3546, allocations: 4 kB / 0.5642 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.867e-05/0.3547, allocations: 7.984 kB / 0.5642 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.53e-05/0.3548, allocations: 15.98 kB / 0.5642 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.253e-06/0.3548, allocations: 0 / 0.5642 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001617/0.355, allocations: 153.8 kB / 0.5643 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.355, allocations: 3.938 kB / 0.5643 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002809/0.3552, allocations: 27.88 kB / 0.5644 GB, free: 0.4961 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002534/0.3578, allocations: 1.169 MB / 0.5655 GB, free: 15.51 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003624/0.3581, allocations: 103.9 kB / 0.5656 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.3581, allocations: 0 / 0.5656 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.3583, allocations: 56.03 kB / 0.5656 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004311/0.3587, allocations: 29.64 kB / 0.5657 GB, free: 15.33 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002546/0.3613, allocations: 1.826 MB / 0.5675 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001005/0.3614, allocations: 104.6 kB / 0.5676 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.067e-05/0.3614, allocations: 24.34 kB / 0.5676 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.263e-05/0.3615, allocations: 43.41 kB / 0.5676 GB, free: 13.23 MB / 414.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3615, allocations: 0 / 0.5676 GB, free: 13.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02333/0.3849, allocations: 3.629 MB / 0.5712 GB, free: 9.652 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.82, allocations: 13.16 kB / 0.5712 GB, free: 9.645 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test27_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test27.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.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.06830936903134]