Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_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.0008877/0.0008879, allocations: 93 kB / 17.35 MB, free: 6.344 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.0007637/0.0007637, allocations: 172.1 kB / 18.25 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 223.3 MB / 242.3 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1863/0.1863, allocations: 44.25 MB / 337.7 MB, free: 2.422 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003298/0.0003298, allocations: 8 kB / 410.4 MB, free: 27.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1211, allocations: 61.93 MB / 472.4 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.001852/0.123, allocations: 1.294 MB / 473.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007371/0.1238, allocations: 403.4 kB / 474 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.664e-05/0.1239, allocations: 7.938 kB / 474.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002575/0.1241, allocations: 71.83 kB / 474.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001686/0.1243, allocations: 43.89 kB / 474.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003172/0.1247, allocations: 103.7 kB / 474.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000148/0.1248, allocations: 63.89 kB / 474.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.1249, allocations: 20.12 kB / 474.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.117e-05/0.125, allocations: 31.84 kB / 474.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.777e-05/0.1251, allocations: 35.91 kB / 474.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.1251, allocations: 0 / 474.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.1252, allocations: 43.97 kB / 474.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.943e-05/0.1253, allocations: 19.92 kB / 474.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.798e-05/0.1253, allocations: 53.45 kB / 474.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001659/0.1255, allocations: 103.9 kB / 474.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1255, allocations: 0 / 474.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.647e-06/0.1255, allocations: 0 / 474.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.1255, allocations: 3.938 kB / 474.6 MB, free: 10.92 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004592/0.126, allocations: 385.5 kB / 475 MB, free: 10.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.126, allocations: 8.031 kB / 475 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.87e-05/0.1261, allocations: 42.67 kB / 475.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.355e-05/0.1261, allocations: 8.844 kB / 475.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.1263, allocations: 192.1 kB / 475.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.093e-06/0.1263, allocations: 4.375 kB / 475.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.614e-05/0.1264, allocations: 12.11 kB / 475.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.1265, allocations: 65.64 kB / 475.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.1266, allocations: 3.938 kB / 475.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.507e-06/0.1266, allocations: 0 / 475.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1266, allocations: 0 / 475.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.1267, allocations: 31.97 kB / 475.4 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004126/0.1271, allocations: 300.7 kB / 475.7 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.1272, allocations: 50.5 kB / 475.7 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.593e-05/0.1273, allocations: 24.94 kB / 475.7 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.1273, allocations: 0 / 475.7 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.1274, allocations: 38.5 kB / 475.8 MB, free: 9.605 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.1274, allocations: 0 / 475.8 MB, free: 9.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009645/0.1283, allocations: 261 kB / 476 MB, free: 9.344 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.1284, allocations: 59.34 kB / 476.1 MB, free: 9.273 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.1286, allocations: 196.5 kB / 476.3 MB, free: 9.074 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.1286, allocations: 25.7 kB / 476.3 MB, free: 9.043 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.081e-05/0.1287, allocations: 104.1 kB / 476.4 MB, free: 8.938 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.376e-05/0.1287, allocations: 31.62 kB / 476.4 MB, free: 8.906 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.857e-05/0.1287, allocations: 9.719 kB / 476.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.1289, allocations: 322.8 kB / 476.8 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.905e-05/0.1289, allocations: 39.97 kB / 476.8 MB, free: 8.527 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.999e-05/0.129, allocations: 31.98 kB / 476.8 MB, free: 8.496 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001699/0.1292, allocations: 84.75 kB / 476.9 MB, free: 8.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1292, allocations: 4 kB / 476.9 MB, free: 8.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000224/0.1295, allocations: 113.6 kB / 477 MB, free: 8.289 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.1295, allocations: 6.344 kB / 477 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.1295, allocations: 0 / 477 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.1295, allocations: 0 / 477 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.1296, allocations: 19.98 kB / 477.1 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.1296, allocations: 7.938 kB / 477.1 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.925e-05/0.1297, allocations: 12 kB / 477.1 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.832e-06/0.1297, allocations: 3.938 kB / 477.1 MB, free: 8.242 MB / 350.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 (8): * Single equations (assignments): 8 * 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 8.693e-05/0.1298, allocations: 125.8 kB / 477.2 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.167e-05/0.1298, allocations: 11.91 kB / 477.2 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002913/0.1301, allocations: 146.6 kB / 477.4 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1301, allocations: 0 / 477.4 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.81e-06/0.1302, allocations: 7.938 kB / 477.4 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.1302, allocations: 0 / 477.4 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004997/0.1307, allocations: 427.2 kB / 477.8 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.1307, allocations: 3.938 kB / 477.8 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.769e-05/0.1308, allocations: 24.34 kB / 477.8 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.1308, allocations: 3.938 kB / 477.8 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.1308, allocations: 4 kB / 477.8 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.1308, allocations: 0 / 477.8 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1308, allocations: 0 / 477.8 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002614/0.1311, allocations: 220.3 kB / 478 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.839e-05/0.1311, allocations: 96.94 kB / 478.1 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.1311, allocations: 0 / 478.1 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.271e-05/0.1312, allocations: 11.98 kB / 478.1 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/0.1313, allocations: 11.92 kB / 478.2 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.812e-06/0.1313, allocations: 4 kB / 478.2 MB, free: 7.055 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001111/0.1314, allocations: 146.9 kB / 478.3 MB, free: 6.914 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1314, allocations: 4 kB / 478.3 MB, free: 6.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002471/0.1317, allocations: 15.98 kB / 478.3 MB, free: 6.895 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001467/0.1331, allocations: 1.102 MB / 479.4 MB, free: 5.953 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002251/0.1334, allocations: 79.89 kB / 479.5 MB, free: 5.875 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1334, allocations: 3.938 kB / 479.5 MB, free: 5.871 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.512e-05/0.1335, allocations: 51.91 kB / 479.6 MB, free: 5.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003265/0.1338, allocations: 18.91 kB / 479.6 MB, free: 5.805 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001705/0.1355, allocations: 1.698 MB / 481.3 MB, free: 4.012 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002333/0.1358, allocations: 0.7004 MB / 482 MB, free: 3.285 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.907e-05/0.1359, allocations: 20.64 kB / 482 MB, free: 3.266 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.509e-05/0.1359, allocations: 31.42 kB / 482 MB, free: 3.234 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1359, allocations: 0 / 482 MB, free: 3.234 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01235/0.1483, allocations: 2.589 MB / 484.6 MB, free: 0.75 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001915/0.1485, allocations: 235.8 kB / 484.8 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.742/1.891, allocations: 3.938 kB / 484.8 MB, free: 500 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches