Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.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.0008957/0.0008957, allocations: 91.67 kB / 20.68 MB, free: 3.871 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.0009313/0.0009313, allocations: 166 kB / 23.95 MB, free: 0.5977 MB / 18.57 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 0.8744/0.8744, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.2167/0.2167, allocations: 32.8 MB / 293.5 MB, free: 1.211 MB / 266.7 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.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.664e-06/1.664e-06, allocations: 0 / 439.6 MB, free: 4.219 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.827e-05/1.994e-05, allocations: 4.391 kB / 439.6 MB, free: 4.215 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.002152/0.002172, allocations: 1.616 MB / 441.2 MB, free: 2.586 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006357/0.002808, allocations: 0.5296 MB / 441.7 MB, free: 2.051 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.727e-05/0.002855, allocations: 0 / 441.7 MB, free: 2.051 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004172/0.003272, allocations: 447.1 kB / 442.2 MB, free: 1.613 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003929/0.003665, allocations: 299.1 kB / 442.5 MB, free: 1.32 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002895/0.003954, allocations: 132.4 kB / 442.6 MB, free: 1.191 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002131/0.004168, allocations: 167.7 kB / 442.8 MB, free: 1.027 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.085e-05/0.004258, allocations: 4 kB / 442.8 MB, free: 1.023 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.004372, allocations: 127.7 kB / 442.9 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001804/0.004553, allocations: 239.6 kB / 443.1 MB, free: 0.6641 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.004567, allocations: 0 / 443.1 MB, free: 0.6641 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.855e-05/0.004625, allocations: 20 kB / 443.1 MB, free: 0.6445 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.44e-05/0.00471, allocations: 91.64 kB / 443.2 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.407e-05/0.004744, allocations: 43.73 kB / 443.3 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002084/0.004952, allocations: 231.1 kB / 443.5 MB, free: 292 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.004955, allocations: 4 kB / 443.5 MB, free: 288 kB / 410.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.004956, allocations: 0 / 443.5 MB, free: 288 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.91e-06/0.004961, allocations: 0 / 443.5 MB, free: 288 kB / 410.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.1434/0.1484, allocations: 0.5831 MB / 444.1 MB, free: 46.58 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.1484, allocations: 8.688 kB / 444.1 MB, free: 46.58 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.526e-05/0.1484, allocations: 34.59 kB / 444.1 MB, free: 46.54 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.309e-05/0.1485, allocations: 46.64 kB / 444.2 MB, free: 46.51 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.1487, allocations: 245.6 kB / 444.4 MB, free: 46.33 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.015e-06/0.1487, allocations: 1.938 kB / 444.4 MB, free: 46.33 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-06/0.1487, allocations: 3.781 kB / 444.4 MB, free: 46.33 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.1488, allocations: 53.97 kB / 444.5 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.1488, allocations: 0.75 kB / 444.5 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.1488, allocations: 0.625 kB / 444.5 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1488, allocations: 5.469 kB / 444.5 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.505e-05/0.1489, allocations: 34.77 kB / 444.5 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003015/0.1492, allocations: 342.9 kB / 444.9 MB, free: 46.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.005e-05/0.1493, allocations: 44.56 kB / 444.9 MB, free: 46.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.358e-05/0.1493, allocations: 20.86 kB / 444.9 MB, free: 46.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.1493, allocations: 3.938 kB / 444.9 MB, free: 46.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.32e-05/0.1494, allocations: 33.28 kB / 445 MB, free: 46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.693e-06/0.1494, allocations: 2.906 kB / 445 MB, free: 46 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001995/0.1496, allocations: 122.1 kB / 445.1 MB, free: 45.94 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.833e-05/0.1496, allocations: 53.75 kB / 445.1 MB, free: 45.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000438/0.15, allocations: 0.8727 MB / 446 MB, free: 45.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.102e-06/0.15, allocations: 25.7 kB / 446 MB, free: 45.63 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.894e-05/0.1501, allocations: 218.9 kB / 446.2 MB, free: 45.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.596e-05/0.1501, allocations: 9.703 kB / 446.2 MB, free: 45.45 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.563e-05/0.1501, allocations: 26.05 kB / 446.3 MB, free: 45.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.423e-05/0.1502, allocations: 357.8 kB / 446.6 MB, free: 45.11 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.164e-05/0.1502, allocations: 16.09 kB / 446.6 MB, free: 45.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.666e-05/0.1503, allocations: 11.88 kB / 446.7 MB, free: 45.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.052e-05/0.1503, allocations: 46.25 kB / 446.7 MB, free: 45.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1503, allocations: 0 / 446.7 MB, free: 45.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.954e-05/0.1504, allocations: 110.9 kB / 446.8 MB, free: 45.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.1504, allocations: 6 kB / 446.8 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.1504, allocations: 1.125 kB / 446.8 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.1504, allocations: 0 / 446.8 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.579e-05/0.1505, allocations: 11 kB / 446.8 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.1505, allocations: 2.844 kB / 446.8 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.407e-05/0.1506, allocations: 2.906 kB / 446.8 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.044e-06/0.1506, allocations: 0 / 446.8 MB, free: 45.02 MB / 410.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 (3): * Single equations (assignments): 3 * 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 9.984e-05/0.1507, allocations: 218.7 kB / 447 MB, free: 44.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.059e-05/0.1507, allocations: 52.83 kB / 447.1 MB, free: 44.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001532/0.1508, allocations: 121.2 kB / 447.2 MB, free: 44.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1508, allocations: 0 / 447.2 MB, free: 44.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.1509, allocations: 0 / 447.2 MB, free: 44.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.1509, allocations: 0 / 447.2 MB, free: 44.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001342/0.151, allocations: 264 kB / 447.5 MB, free: 44.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.151, allocations: 5.547 kB / 447.5 MB, free: 44.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.673e-05/0.151, allocations: 12.83 kB / 447.5 MB, free: 44.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.151, allocations: 0 / 447.5 MB, free: 44.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.151, allocations: 10.89 kB / 447.5 MB, free: 44.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.151, allocations: 0 / 447.5 MB, free: 44.61 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.151, allocations: 0 / 447.5 MB, free: 44.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.972e-05/0.1511, allocations: 198.2 kB / 447.7 MB, free: 44.45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.51e-05/0.1512, allocations: 42.88 kB / 447.7 MB, free: 44.42 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.1512, allocations: 0.6875 kB / 447.7 MB, free: 44.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.358e-05/0.1512, allocations: 9.562 kB / 447.7 MB, free: 44.42 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.258e-05/0.1512, allocations: 2.781 kB / 447.7 MB, free: 44.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.1512, allocations: 3.75 kB / 447.8 MB, free: 44.42 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002967/0.1515, allocations: 0.6574 MB / 448.4 MB, free: 44.17 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1515, allocations: 0 / 448.4 MB, free: 44.17 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00017/0.1517, allocations: 21.06 kB / 448.4 MB, free: 44.17 MB / 410.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 (3): * Single equations (assignments): 3 * 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.0007003/0.1524, allocations: 1.009 MB / 449.4 MB, free: 43.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001041/0.1525, allocations: 37.95 kB / 449.5 MB, free: 43.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1525, allocations: 3.938 kB / 449.5 MB, free: 43.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.519e-05/0.1525, allocations: 22.77 kB / 449.5 MB, free: 43.42 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/0.1528, allocations: 23.28 kB / 449.5 MB, free: 43.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001713/0.1545, allocations: 3.181 MB / 452.7 MB, free: 41.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/0.1546, allocations: 217.2 kB / 452.9 MB, free: 41.58 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.922e-05/0.1547, allocations: 20.64 kB / 452.9 MB, free: 41.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.926e-05/0.1547, allocations: 108.9 kB / 453 MB, free: 41.49 MB / 410.7 MB Notification: Performance of SimCode: time 7.92e-07/0.1547, allocations: 0 / 453 MB, free: 41.49 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01721/0.172, allocations: 6.443 MB / 459.5 MB, free: 39.85 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.882/7.054, allocations: 6.156 kB / 459.5 MB, free: 39.85 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test9_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test9.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.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: 8.951883036643267]