Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 101.8 kB / 16.26 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 188.6 kB / 17.19 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.387/1.387, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2109/0.2109, allocations: 43.52 MB / 313.9 MB, free: 0.5273 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 69.88 kB / 382.8 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1247, allocations: 57.79 MB / 440.6 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.003024/0.1278, allocations: 1.555 MB / 442.2 MB, free: 5.23 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000595/0.1285, allocations: 315.5 kB / 442.5 MB, free: 4.918 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.943e-05/0.1285, allocations: 3.938 kB / 442.5 MB, free: 4.914 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002821/0.1288, allocations: 71.77 kB / 442.6 MB, free: 4.844 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001862/0.129, allocations: 63.81 kB / 442.6 MB, free: 4.781 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002735/0.1293, allocations: 71.78 kB / 442.7 MB, free: 4.711 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.1294, allocations: 63.88 kB / 442.8 MB, free: 4.648 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.998e-05/0.1296, allocations: 8 kB / 442.8 MB, free: 4.641 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.002e-05/0.1296, allocations: 27.91 kB / 442.8 MB, free: 4.613 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.339e-05/0.1297, allocations: 47.83 kB / 442.8 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.1297, allocations: 0 / 442.8 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.259e-05/0.1298, allocations: 35.94 kB / 442.9 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.125e-05/0.1299, allocations: 19.92 kB / 442.9 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.573e-05/0.1299, allocations: 23.8 kB / 442.9 MB, free: 4.488 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001559/0.1301, allocations: 83.72 kB / 443 MB, free: 4.406 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.1301, allocations: 0 / 443 MB, free: 4.406 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1301, allocations: 0 / 443 MB, free: 4.406 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.1301, allocations: 0 / 443 MB, free: 4.406 MB / 318.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.0005119/0.1306, allocations: 391.1 kB / 443.4 MB, free: 3.977 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.1307, allocations: 15.89 kB / 443.4 MB, free: 3.961 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.465e-05/0.1307, allocations: 34.75 kB / 443.4 MB, free: 3.918 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.457e-05/0.1308, allocations: 12.75 kB / 443.4 MB, free: 3.906 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.1309, allocations: 202.2 kB / 443.6 MB, free: 3.672 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.131, allocations: 384 / 443.6 MB, free: 3.672 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.708e-05/0.131, allocations: 384 / 443.6 MB, free: 3.672 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.1311, allocations: 57.56 kB / 443.7 MB, free: 3.609 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.951e-05/0.1312, allocations: 3.906 kB / 443.7 MB, free: 3.605 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.1312, allocations: 0 / 443.7 MB, free: 3.605 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.1312, allocations: 0 / 443.7 MB, free: 3.605 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.118e-05/0.1313, allocations: 23.97 kB / 443.7 MB, free: 3.582 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003643/0.1317, allocations: 284.8 kB / 444 MB, free: 3.254 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002313/0.1319, allocations: 38.56 kB / 444 MB, free: 3.207 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.831e-05/0.132, allocations: 12.86 kB / 444.1 MB, free: 3.191 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.132, allocations: 8.078 kB / 444.1 MB, free: 3.184 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.611e-05/0.132, allocations: 34.56 kB / 444.1 MB, free: 3.141 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/0.132, allocations: 0 / 444.1 MB, free: 3.141 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.000542/0.1326, allocations: 145.3 kB / 444.2 MB, free: 2.992 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.823e-05/0.1326, allocations: 51.41 kB / 444.3 MB, free: 2.93 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.1328, allocations: 190.1 kB / 444.5 MB, free: 2.734 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.1328, allocations: 25.7 kB / 444.5 MB, free: 2.703 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.429e-05/0.1328, allocations: 108 kB / 444.6 MB, free: 2.594 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.389e-05/0.1329, allocations: 19.8 kB / 444.6 MB, free: 2.574 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.212e-05/0.1329, allocations: 17.72 kB / 444.6 MB, free: 2.551 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.193e-05/0.133, allocations: 326.8 kB / 445 MB, free: 2.223 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.048e-05/0.1331, allocations: 11.98 kB / 445 MB, free: 2.211 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.402e-05/0.1331, allocations: 23.92 kB / 445 MB, free: 2.188 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/0.1332, allocations: 48.84 kB / 445 MB, free: 2.137 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1332, allocations: 0 / 445 MB, free: 2.137 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001452/0.1334, allocations: 81.91 kB / 445.1 MB, free: 2.051 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.1334, allocations: 4 kB / 445.1 MB, free: 2.047 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.1334, allocations: 7.984 kB / 445.1 MB, free: 2.039 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.1334, allocations: 0 / 445.1 MB, free: 2.039 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.304e-05/0.1335, allocations: 12 kB / 445.1 MB, free: 2.027 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.1335, allocations: 0 / 445.1 MB, free: 2.027 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.561e-05/0.1336, allocations: 7.984 kB / 445.2 MB, free: 2.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.1336, allocations: 11.88 kB / 445.2 MB, free: 2.008 MB / 318.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 7e-05/0.1336, allocations: 125.8 kB / 445.3 MB, free: 1.875 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.97e-05/0.1337, allocations: 11.91 kB / 445.3 MB, free: 1.863 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002035/0.1339, allocations: 89.91 kB / 445.4 MB, free: 1.773 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.1339, allocations: 0 / 445.4 MB, free: 1.773 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.1339, allocations: 3.938 kB / 445.4 MB, free: 1.77 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1339, allocations: 8 kB / 445.4 MB, free: 1.762 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003164/0.1342, allocations: 354.3 kB / 445.7 MB, free: 1.359 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1343, allocations: 0 / 445.7 MB, free: 1.359 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.889e-05/0.1343, allocations: 15.98 kB / 445.8 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.1343, allocations: 0 / 445.8 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.1343, allocations: 0 / 445.8 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1343, allocations: 3.938 kB / 445.8 MB, free: 1.34 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.1343, allocations: 0 / 445.8 MB, free: 1.34 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001724/0.1345, allocations: 183.4 kB / 445.9 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.785e-05/0.1346, allocations: 85.02 kB / 446 MB, free: 1.043 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.1346, allocations: 192 / 446 MB, free: 1.043 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.296e-05/0.1346, allocations: 19.92 kB / 446 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.3e-05/0.1347, allocations: 4 kB / 446 MB, free: 1.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.1347, allocations: 0 / 446 MB, free: 1.02 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.273e-05/0.1348, allocations: 151.2 kB / 446.2 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1348, allocations: 0 / 446.2 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002286/0.135, allocations: 12 kB / 446.2 MB, free: 0.8594 MB / 318.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.001142/0.1362, allocations: 0.9985 MB / 447.2 MB, free: 15.92 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001932/0.1364, allocations: 55.89 kB / 447.3 MB, free: 15.87 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1364, allocations: 0 / 447.3 MB, free: 15.87 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.315e-05/0.1365, allocations: 23.98 kB / 447.3 MB, free: 15.84 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.1369, allocations: 19.53 kB / 447.3 MB, free: 15.83 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/0.1385, allocations: 1.515 MB / 448.8 MB, free: 14.24 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004791/0.139, allocations: 0.7079 MB / 449.5 MB, free: 13.5 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.491e-05/0.1391, allocations: 11.86 kB / 449.5 MB, free: 13.49 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.756e-05/0.1391, allocations: 27.42 kB / 449.6 MB, free: 13.46 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1391, allocations: 0 / 449.6 MB, free: 13.46 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02018/0.1593, allocations: 2.591 MB / 452.2 MB, free: 10.85 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.658/7.817, allocations: 15.33 kB / 452.2 MB, free: 10.84 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test3.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches