Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.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.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test7",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.0008729/0.0008731, allocations: 102.6 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 185.4 kB / 16.92 MB, free: 6.918 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.44/1.44, allocations: 205.4 MB / 223.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3124/0.3124, allocations: 43.58 MB / 315 MB, free: 8.824 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.000479/0.000479, allocations: 12 kB / 384.7 MB, free: 7.543 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1168, allocations: 58.86 MB / 443.5 MB, free: 12.58 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test7): time 0.001856/0.1187, allocations: 1.275 MB / 444.8 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006026/0.1193, allocations: 311.6 kB / 445.1 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.228e-05/0.1194, allocations: 7.938 kB / 445.1 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002061/0.1196, allocations: 15.92 kB / 445.1 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001355/0.1197, allocations: 35.91 kB / 445.2 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002575/0.12, allocations: 79.83 kB / 445.3 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000132/0.1201, allocations: 51.91 kB / 445.3 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.991e-05/0.1203, allocations: 20.25 kB / 445.3 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.436e-05/0.1203, allocations: 23.86 kB / 445.4 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.113e-05/0.1204, allocations: 7.938 kB / 445.4 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.1204, allocations: 3.938 kB / 445.4 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.063e-05/0.1205, allocations: 31.98 kB / 445.4 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.574e-05/0.1205, allocations: 15.92 kB / 445.4 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.91e-05/0.1206, allocations: 53.5 kB / 445.5 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001571/0.1207, allocations: 71.73 kB / 445.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.1207, allocations: 0 / 445.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.1208, allocations: 0 / 445.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.797e-06/0.1208, allocations: 0 / 445.5 MB, free: 10.57 MB / 382.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.0004441/0.1212, allocations: 375.2 kB / 445.9 MB, free: 10.15 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.1213, allocations: 8.031 kB / 445.9 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.704e-05/0.1213, allocations: 34.75 kB / 445.9 MB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.619e-05/0.1213, allocations: 12.84 kB / 446 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.1215, allocations: 196.2 kB / 446.1 MB, free: 9.859 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.1216, allocations: 4.375 kB / 446.2 MB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.1216, allocations: 384 / 446.2 MB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.1217, allocations: 49.62 kB / 446.2 MB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.1217, allocations: 0 / 446.2 MB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.1217, allocations: 4 kB / 446.2 MB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.1218, allocations: 4 kB / 446.2 MB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.166e-05/0.1218, allocations: 31.97 kB / 446.2 MB, free: 9.762 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003493/0.1222, allocations: 288.7 kB / 446.5 MB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.1224, allocations: 46.5 kB / 446.6 MB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.42e-05/0.1225, allocations: 28.94 kB / 446.6 MB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.1225, allocations: 0 / 446.6 MB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.1225, allocations: 30.56 kB / 446.6 MB, free: 9.305 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 7.51e-07/0.1225, allocations: 0 / 446.6 MB, free: 9.305 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005224/0.123, allocations: 165.4 kB / 446.8 MB, free: 9.137 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.1231, allocations: 51.41 kB / 446.8 MB, free: 9.074 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.1232, allocations: 153.2 kB / 447 MB, free: 8.918 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.1232, allocations: 33.64 kB / 447 MB, free: 8.879 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.401e-05/0.1233, allocations: 92.12 kB / 447.1 MB, free: 8.785 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.1233, allocations: 23.75 kB / 447.1 MB, free: 8.762 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.327e-05/0.1234, allocations: 13.7 kB / 447.1 MB, free: 8.742 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.1235, allocations: 322.8 kB / 447.5 MB, free: 8.418 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.545e-05/0.1236, allocations: 27.92 kB / 447.5 MB, free: 8.391 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.32e-05/0.1237, allocations: 27.97 kB / 447.5 MB, free: 8.363 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.1238, allocations: 60.83 kB / 447.6 MB, free: 8.301 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1238, allocations: 0 / 447.6 MB, free: 8.301 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001858/0.124, allocations: 89.58 kB / 447.7 MB, free: 8.207 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.124, allocations: 12 kB / 447.7 MB, free: 8.195 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.124, allocations: 0 / 447.7 MB, free: 8.195 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.1241, allocations: 0 / 447.7 MB, free: 8.195 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.579e-05/0.1241, allocations: 15.98 kB / 447.7 MB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.1241, allocations: 3.938 kB / 447.7 MB, free: 8.176 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.147e-05/0.1242, allocations: 11.92 kB / 447.7 MB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.1242, allocations: 4 kB / 447.7 MB, free: 8.16 MB / 382.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 7.248e-05/0.1243, allocations: 117.8 kB / 447.8 MB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.762e-05/0.1243, allocations: 7.906 kB / 447.8 MB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002361/0.1245, allocations: 106.2 kB / 447.9 MB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.1246, allocations: 4 kB / 447.9 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1246, allocations: 0 / 447.9 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.1246, allocations: 3.938 kB / 447.9 MB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004158/0.125, allocations: 362.8 kB / 448.3 MB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.125, allocations: 0 / 448.3 MB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.226e-05/0.1251, allocations: 12 kB / 448.3 MB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.1251, allocations: 0 / 448.3 MB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.1251, allocations: 11.88 kB / 448.3 MB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.1251, allocations: 7.984 kB / 448.3 MB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.1251, allocations: 3.984 kB / 448.3 MB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002209/0.1253, allocations: 187.4 kB / 448.5 MB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.83e-05/0.1254, allocations: 85 kB / 448.6 MB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.1254, allocations: 15.94 kB / 448.6 MB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.428e-05/0.1255, allocations: 4 kB / 448.6 MB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.039e-05/0.1255, allocations: 7.984 kB / 448.6 MB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.1255, allocations: 0 / 448.6 MB, free: 7.137 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.052e-05/0.1256, allocations: 119.2 kB / 448.7 MB, free: 7.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1256, allocations: 0 / 448.7 MB, free: 7.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002259/0.1259, allocations: 12 kB / 448.8 MB, free: 7.008 MB / 382.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.00135/0.1272, allocations: 1.031 MB / 449.8 MB, free: 5.992 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002138/0.1274, allocations: 63.91 kB / 449.8 MB, free: 5.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1274, allocations: 0 / 449.8 MB, free: 5.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.284e-05/0.1275, allocations: 31.98 kB / 449.9 MB, free: 5.898 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.1279, allocations: 15.98 kB / 449.9 MB, free: 5.883 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/0.1296, allocations: 1.49 MB / 451.4 MB, free: 4.309 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.13, allocations: 0.6965 MB / 452.1 MB, free: 3.586 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.368e-05/0.1301, allocations: 20.48 kB / 452.1 MB, free: 3.566 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.639e-05/0.1301, allocations: 23.38 kB / 452.1 MB, free: 3.543 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1301, allocations: 0 / 452.1 MB, free: 3.543 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0124/0.1425, allocations: 2.115 MB / 454.2 MB, free: 1.422 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001921/0.1428, allocations: 234 kB / 454.5 MB, free: 1.164 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.85/1.993, allocations: 0 / 454.5 MB, free: 1.164 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test7_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test7.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test7/Test7.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches