Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.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.001822/0.001822, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002424/0.002424, allocations: 206.8 kB / 22.99 MB, free: 4.602 MB / 14.72 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 1.498/1.498, allocations: 207.7 MB / 233.8 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] 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.2209/0.2209, allocations: 44.25 MB / 330.3 MB, free: 9.32 MB / 270.1 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002308/0.002308, allocations: 68.38 kB / 467.5 MB, free: 4.355 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1287, allocations: 61.05 MB / 0.5162 GB, free: 7.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.003352/0.1321, allocations: 1.557 MB / 0.5177 GB, free: 5.609 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007385/0.1328, allocations: 315.5 kB / 0.518 GB, free: 5.297 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.644e-05/0.1329, allocations: 4 kB / 0.518 GB, free: 5.293 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003704/0.1333, allocations: 115.7 kB / 0.5181 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002447/0.1335, allocations: 71.78 kB / 0.5182 GB, free: 5.109 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002855/0.1338, allocations: 75.78 kB / 0.5182 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002122/0.134, allocations: 71.81 kB / 0.5183 GB, free: 4.965 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.1341, allocations: 15.97 kB / 0.5183 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.007e-05/0.1342, allocations: 43.83 kB / 0.5184 GB, free: 4.906 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.1344, allocations: 63.8 kB / 0.5184 GB, free: 4.844 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.1344, allocations: 8 kB / 0.5184 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.1345, allocations: 35.98 kB / 0.5185 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.322e-05/0.1346, allocations: 19.92 kB / 0.5185 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.181e-05/0.1346, allocations: 19.81 kB / 0.5185 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002444/0.1348, allocations: 103.5 kB / 0.5186 GB, free: 4.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.1348, allocations: 0 / 0.5186 GB, free: 4.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1349, allocations: 0 / 0.5186 GB, free: 4.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.1349, allocations: 0 / 0.5186 GB, free: 4.66 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000638/0.1355, allocations: 333.6 kB / 0.5189 GB, free: 4.305 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.823e-05/0.1356, allocations: 12.03 kB / 0.5189 GB, free: 4.293 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.915e-05/0.1356, allocations: 34.75 kB / 0.519 GB, free: 4.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.58e-05/0.1357, allocations: 20.83 kB / 0.519 GB, free: 4.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.1359, allocations: 142.3 kB / 0.5191 GB, free: 4.066 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.1359, allocations: 384 / 0.5191 GB, free: 4.066 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.526e-05/0.1359, allocations: 4.375 kB / 0.5191 GB, free: 4.062 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.1361, allocations: 57.56 kB / 0.5192 GB, free: 4 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.1361, allocations: 0 / 0.5192 GB, free: 4 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.1361, allocations: 0 / 0.5192 GB, free: 4 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.1361, allocations: 0 / 0.5192 GB, free: 4 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.298e-05/0.1362, allocations: 23.97 kB / 0.5192 GB, free: 3.977 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004032/0.1366, allocations: 247.9 kB / 0.5194 GB, free: 3.691 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002281/0.1369, allocations: 50.5 kB / 0.5195 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.259e-05/0.1369, allocations: 20.88 kB / 0.5195 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.1369, allocations: 0 / 0.5195 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.137, allocations: 30.56 kB / 0.5195 GB, free: 3.57 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.137, allocations: 4 kB / 0.5195 GB, free: 3.566 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005858/0.1375, allocations: 149.3 kB / 0.5197 GB, free: 3.414 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.1376, allocations: 55.41 kB / 0.5197 GB, free: 3.348 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002662/0.1379, allocations: 238.8 kB / 0.52 GB, free: 3.098 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.1379, allocations: 29.7 kB / 0.52 GB, free: 3.062 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.879e-05/0.138, allocations: 108.1 kB / 0.5201 GB, free: 2.953 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.821e-05/0.138, allocations: 19.78 kB / 0.5201 GB, free: 2.934 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.7e-05/0.138, allocations: 17.72 kB / 0.5201 GB, free: 2.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.1382, allocations: 330.7 kB / 0.5204 GB, free: 2.578 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.217e-05/0.1383, allocations: 19.98 kB / 0.5205 GB, free: 2.559 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.372e-05/0.1383, allocations: 19.98 kB / 0.5205 GB, free: 2.539 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.1385, allocations: 48.77 kB / 0.5205 GB, free: 2.488 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1385, allocations: 4 kB / 0.5205 GB, free: 2.484 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002025/0.1387, allocations: 81.62 kB / 0.5206 GB, free: 2.398 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.1387, allocations: 4 kB / 0.5206 GB, free: 2.395 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.1387, allocations: 0 / 0.5206 GB, free: 2.395 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.1387, allocations: 0 / 0.5206 GB, free: 2.395 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.103e-05/0.1388, allocations: 16.23 kB / 0.5206 GB, free: 2.379 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.1388, allocations: 0 / 0.5206 GB, free: 2.379 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.309e-05/0.1388, allocations: 12 kB / 0.5206 GB, free: 2.367 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.1388, allocations: 3.938 kB / 0.5206 GB, free: 2.363 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 (5): * Single equations (assignments): 5 * 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.0001151/0.139, allocations: 125.8 kB / 0.5208 GB, free: 2.23 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.837e-05/0.139, allocations: 15.91 kB / 0.5208 GB, free: 2.215 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002807/0.1393, allocations: 98.95 kB / 0.5209 GB, free: 2.113 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1393, allocations: 0 / 0.5209 GB, free: 2.113 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1393, allocations: 0 / 0.5209 GB, free: 2.113 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.926e-06/0.1393, allocations: 7.984 kB / 0.5209 GB, free: 2.105 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004687/0.1398, allocations: 321.5 kB / 0.5212 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1398, allocations: 0 / 0.5212 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.919e-05/0.1398, allocations: 15.98 kB / 0.5212 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1398, allocations: 0 / 0.5212 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.555e-06/0.1398, allocations: 0 / 0.5212 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.1398, allocations: 3.938 kB / 0.5212 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1398, allocations: 0 / 0.5212 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002494/0.1401, allocations: 187.4 kB / 0.5214 GB, free: 1.523 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.721e-05/0.1401, allocations: 11.95 kB / 0.5214 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.1401, allocations: 4 kB / 0.5214 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.951e-05/0.1402, allocations: 7.938 kB / 0.5214 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.833e-05/0.1402, allocations: 3.984 kB / 0.5214 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.1402, allocations: 8.125 kB / 0.5214 GB, free: 1.488 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002012/0.1404, allocations: 188.2 kB / 0.5216 GB, free: 1.305 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1404, allocations: 0 / 0.5216 GB, free: 1.305 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002487/0.1407, allocations: 12 kB / 0.5216 GB, free: 1.293 MB / 398.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 (5): * Single equations (assignments): 5 * 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.002162/0.1429, allocations: 1.047 MB / 0.5226 GB, free: 268 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002065/0.1431, allocations: 47.91 kB / 0.5227 GB, free: 220 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1431, allocations: 0 / 0.5227 GB, free: 220 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.275e-05/0.1432, allocations: 19.98 kB / 0.5227 GB, free: 200 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003722/0.1435, allocations: 19.92 kB / 0.5227 GB, free: 180 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002102/0.1456, allocations: 1.644 MB / 0.5243 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001114/0.1457, allocations: 96.17 kB / 0.5244 GB, free: 14.33 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.073e-05/0.1458, allocations: 4 kB / 0.5244 GB, free: 14.33 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.331e-05/0.1458, allocations: 31.42 kB / 0.5245 GB, free: 14.3 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1458, allocations: 4 kB / 0.5245 GB, free: 14.29 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03004/0.1759, allocations: 3.47 MB / 0.5278 GB, free: 10.71 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.53, allocations: 0 / 0.5278 GB, free: 10.71 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test32_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test32.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.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.771064225118607]