Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test26.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.CombiTable1D.Test26,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test26,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test26",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.001684/0.001684, allocations: 102.3 kB / 16.27 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.001699/0.001699, allocations: 187.8 kB / 17.19 MB, free: 5.609 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.448/1.448, 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.2274/0.2274, allocations: 43.53 MB / 313.9 MB, free: 0.5352 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.001427/0.001427, allocations: 70.02 kB / 382.8 MB, free: 56.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1146, allocations: 57.79 MB / 440.6 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test26): time 0.003194/0.1178, allocations: 1.551 MB / 442.2 MB, free: 5.254 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005093/0.1184, allocations: 323.5 kB / 442.5 MB, free: 4.934 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.681e-05/0.1184, allocations: 4 kB / 442.5 MB, free: 4.93 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002623/0.1187, allocations: 79.77 kB / 442.6 MB, free: 4.852 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001887/0.1189, allocations: 59.8 kB / 442.6 MB, free: 4.793 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002451/0.1192, allocations: 95.73 kB / 442.7 MB, free: 4.699 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00014/0.1193, allocations: 63.89 kB / 442.8 MB, free: 4.637 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.1194, allocations: 15.98 kB / 442.8 MB, free: 4.621 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.432e-05/0.1195, allocations: 27.91 kB / 442.8 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.1196, allocations: 51.83 kB / 442.9 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.885e-05/0.1196, allocations: 8 kB / 442.9 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.824e-05/0.1197, allocations: 31.92 kB / 442.9 MB, free: 4.504 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.36e-05/0.1198, allocations: 19.92 kB / 442.9 MB, free: 4.484 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.84e-05/0.1198, allocations: 31.73 kB / 443 MB, free: 4.453 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001475/0.12, allocations: 75.8 kB / 443 MB, free: 4.379 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.12, allocations: 3.984 kB / 443.1 MB, free: 4.375 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.12, allocations: 0 / 443.1 MB, free: 4.375 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.12, allocations: 0 / 443.1 MB, free: 4.375 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.0005403/0.1205, allocations: 403 kB / 443.4 MB, free: 3.934 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.643e-05/0.1206, allocations: 11.89 kB / 443.5 MB, free: 3.922 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.48e-05/0.1206, allocations: 34.75 kB / 443.5 MB, free: 3.879 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.943e-05/0.1207, allocations: 8.844 kB / 443.5 MB, free: 3.871 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.1209, allocations: 204.9 kB / 443.7 MB, free: 3.633 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.1209, allocations: 384 / 443.7 MB, free: 3.633 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.1209, allocations: 8.375 kB / 443.7 MB, free: 3.625 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.1211, allocations: 45.62 kB / 443.8 MB, free: 3.574 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.1212, allocations: 4 kB / 443.8 MB, free: 3.57 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.1212, allocations: 0 / 443.8 MB, free: 3.57 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.1212, allocations: 3.938 kB / 443.8 MB, free: 3.566 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.1213, allocations: 27.97 kB / 443.8 MB, free: 3.539 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004076/0.1217, allocations: 288.8 kB / 444.1 MB, free: 3.207 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002028/0.1219, allocations: 46.48 kB / 444.1 MB, free: 3.152 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.762e-05/0.122, allocations: 20.84 kB / 444.1 MB, free: 3.129 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.763e-05/0.122, allocations: 4 kB / 444.1 MB, free: 3.125 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.414e-05/0.122, allocations: 34.56 kB / 444.2 MB, free: 3.082 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1221, allocations: 0 / 444.2 MB, free: 3.082 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005393/0.1226, allocations: 153.3 kB / 444.3 MB, free: 2.926 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/0.1226, allocations: 51.41 kB / 444.4 MB, free: 2.863 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.1228, allocations: 202.2 kB / 444.6 MB, free: 2.656 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.794e-06/0.1228, allocations: 29.7 kB / 444.6 MB, free: 2.621 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.007e-05/0.1228, allocations: 108 kB / 444.7 MB, free: 2.512 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.972e-05/0.1229, allocations: 15.75 kB / 444.7 MB, free: 2.496 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-05/0.1229, allocations: 21.7 kB / 444.7 MB, free: 2.469 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.658e-05/0.123, allocations: 326.7 kB / 445.1 MB, free: 2.141 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.401e-05/0.123, allocations: 23.97 kB / 445.1 MB, free: 2.117 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.521e-05/0.1231, allocations: 20.17 kB / 445.1 MB, free: 2.098 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.1232, allocations: 60.77 kB / 445.2 MB, free: 2.035 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.1232, allocations: 4 kB / 445.2 MB, free: 2.031 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001572/0.1234, allocations: 85.56 kB / 445.2 MB, free: 1.941 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.1234, allocations: 4 kB / 445.3 MB, free: 1.938 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1234, allocations: 4 kB / 445.3 MB, free: 1.934 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.1234, allocations: 0 / 445.3 MB, free: 1.934 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.466e-05/0.1235, allocations: 8 kB / 445.3 MB, free: 1.926 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.1235, allocations: 4 kB / 445.3 MB, free: 1.922 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.671e-05/0.1235, allocations: 7.984 kB / 445.3 MB, free: 1.914 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.1236, allocations: 3.938 kB / 445.3 MB, free: 1.91 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 6.757e-05/0.1236, allocations: 137.7 kB / 445.4 MB, free: 1.766 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.908e-05/0.1237, allocations: 7.906 kB / 445.4 MB, free: 1.758 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002102/0.1239, allocations: 93.97 kB / 445.5 MB, free: 1.664 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.1239, allocations: 4 kB / 445.5 MB, free: 1.66 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1239, allocations: 0 / 445.5 MB, free: 1.66 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.1239, allocations: 7.984 kB / 445.5 MB, free: 1.652 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003164/0.1242, allocations: 362.3 kB / 445.9 MB, free: 1.242 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1242, allocations: 0 / 445.9 MB, free: 1.242 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.671e-05/0.1243, allocations: 8.188 kB / 445.9 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1243, allocations: 0 / 445.9 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.1243, allocations: 8 kB / 445.9 MB, free: 1.227 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1243, allocations: 7.938 kB / 445.9 MB, free: 1.219 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1243, allocations: 3.984 kB / 445.9 MB, free: 1.215 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/0.1245, allocations: 183.4 kB / 446.1 MB, free: 1.02 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.878e-05/0.1246, allocations: 88.94 kB / 446.2 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/0.1246, allocations: 4 kB / 446.2 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.1247, allocations: 3.938 kB / 446.2 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.118e-05/0.1248, allocations: 12 kB / 446.2 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-06/0.1248, allocations: 3.984 kB / 446.2 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.703e-05/0.1249, allocations: 147.2 kB / 446.3 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1249, allocations: 0 / 446.3 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002601/0.1251, allocations: 19.98 kB / 446.4 MB, free: 0.7266 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.001217/0.1264, allocations: 1.009 MB / 447.4 MB, free: 15.78 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002135/0.1266, allocations: 59.89 kB / 447.4 MB, free: 15.72 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.1266, allocations: 3.938 kB / 447.4 MB, free: 15.71 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.49e-05/0.1267, allocations: 23.98 kB / 447.5 MB, free: 15.69 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.127, allocations: 29.48 kB / 447.5 MB, free: 15.67 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.1288, allocations: 1.563 MB / 449 MB, free: 14.03 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.1291, allocations: 0.708 MB / 449.8 MB, free: 13.29 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.354e-05/0.1292, allocations: 12 kB / 449.8 MB, free: 13.28 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.236e-05/0.1292, allocations: 27.42 kB / 449.8 MB, free: 13.26 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1292, allocations: 0 / 449.8 MB, free: 13.26 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02107/0.1503, allocations: 2.687 MB / 452.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.796/7.946, allocations: 11.98 kB / 452.5 MB, free: 10.53 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test26.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test26.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test26_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test26_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test26.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches