Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.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.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test22",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.0008073/0.0008073, allocations: 103 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.0008408/0.000841, allocations: 185 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.494/1.494, allocations: 205.4 MB / 223.1 MB, free: 5.527 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.3885/0.3885, allocations: 43.58 MB / 315 MB, free: 8.77 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.0005047/0.0005048, allocations: 19.98 kB / 384.7 MB, free: 7.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1191, allocations: 58.86 MB / 443.6 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.002056/0.1212, allocations: 1.422 MB / 445 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001268/0.1225, allocations: 0.7652 MB / 445.7 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.531e-05/0.1225, allocations: 0 / 445.7 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002949/0.1228, allocations: 43.89 kB / 445.8 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001635/0.123, allocations: 43.83 kB / 445.8 MB, free: 10.26 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002133/0.1232, allocations: 75.83 kB / 445.9 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001431/0.1234, allocations: 91.7 kB / 446 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.735e-05/0.1235, allocations: 12.22 kB / 446 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.586e-05/0.1236, allocations: 39.72 kB / 446 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.715e-05/0.1236, allocations: 39.78 kB / 446.1 MB, free: 10 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.1237, allocations: 4 kB / 446.1 MB, free: 10 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.682e-05/0.1238, allocations: 43.97 kB / 446.1 MB, free: 9.957 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.704e-05/0.1238, allocations: 11.94 kB / 446.1 MB, free: 9.945 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.696e-05/0.1239, allocations: 61.38 kB / 446.2 MB, free: 9.879 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001785/0.1241, allocations: 111.9 kB / 446.3 MB, free: 9.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1241, allocations: 0 / 446.3 MB, free: 9.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1241, allocations: 0 / 446.3 MB, free: 9.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.1241, allocations: 0 / 446.3 MB, free: 9.77 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004953/0.1246, allocations: 399.1 kB / 446.7 MB, free: 9.332 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.1246, allocations: 12.03 kB / 446.7 MB, free: 9.32 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.606e-05/0.1247, allocations: 30.75 kB / 446.7 MB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.102e-05/0.1247, allocations: 8.844 kB / 446.7 MB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002189/0.1249, allocations: 216 kB / 447 MB, free: 9.023 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.125, allocations: 384 / 447 MB, free: 9.023 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.125, allocations: 7.938 kB / 447 MB, free: 9.016 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.1251, allocations: 61.55 kB / 447 MB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.1252, allocations: 0 / 447 MB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.1252, allocations: 0 / 447 MB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1252, allocations: 4 kB / 447 MB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.736e-05/0.1252, allocations: 23.98 kB / 447.1 MB, free: 8.922 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003449/0.1256, allocations: 284.8 kB / 447.3 MB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.1258, allocations: 58.61 kB / 447.4 MB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.591e-05/0.1258, allocations: 16.86 kB / 447.4 MB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.1259, allocations: 7.984 kB / 447.4 MB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001686/0.1261, allocations: 67.39 kB / 447.5 MB, free: 8.422 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.1261, allocations: 0 / 447.5 MB, free: 8.422 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005058/0.1266, allocations: 169.2 kB / 447.6 MB, free: 8.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.1266, allocations: 55.39 kB / 447.7 MB, free: 8.184 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.1268, allocations: 190.1 kB / 447.9 MB, free: 7.988 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.1268, allocations: 29.7 kB / 447.9 MB, free: 7.953 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.282e-05/0.1269, allocations: 100.1 kB / 448 MB, free: 7.852 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.178e-05/0.1269, allocations: 27.69 kB / 448 MB, free: 7.824 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.776e-05/0.127, allocations: 17.72 kB / 448.1 MB, free: 7.801 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.1271, allocations: 322.8 kB / 448.4 MB, free: 7.477 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.906e-05/0.1272, allocations: 16 kB / 448.4 MB, free: 7.461 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.673e-05/0.1272, allocations: 45.58 kB / 448.4 MB, free: 7.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001045/0.1273, allocations: 57.7 kB / 448.5 MB, free: 7.348 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1273, allocations: 0 / 448.5 MB, free: 7.348 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001736/0.1275, allocations: 105.5 kB / 448.6 MB, free: 7.238 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.1276, allocations: 4 kB / 448.6 MB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.1276, allocations: 0 / 448.6 MB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.1276, allocations: 0 / 448.6 MB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.154e-05/0.1277, allocations: 16 kB / 448.6 MB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.1277, allocations: 0.5312 kB / 448.6 MB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.661e-05/0.1277, allocations: 15.95 kB / 448.6 MB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-06/0.1277, allocations: 3.984 kB / 448.6 MB, free: 7.199 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.406e-05/0.1278, allocations: 129.8 kB / 448.8 MB, free: 7.062 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.966e-05/0.1279, allocations: 19.81 kB / 448.8 MB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.743e-05/0.1279, allocations: 16.7 kB / 448.8 MB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1279, allocations: 0 / 448.8 MB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.1279, allocations: 0 / 448.8 MB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/0.1279, allocations: 11.88 kB / 448.8 MB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004088/0.1284, allocations: 391.3 kB / 449.2 MB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1284, allocations: 0 / 449.2 MB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.179e-05/0.1284, allocations: 11.98 kB / 449.2 MB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.1284, allocations: 3.938 kB / 449.2 MB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.1284, allocations: 4 kB / 449.2 MB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1284, allocations: 0 / 449.2 MB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1284, allocations: 0 / 449.2 MB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002215/0.1287, allocations: 204.3 kB / 449.4 MB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.976e-05/0.1287, allocations: 92.91 kB / 449.5 MB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.382e-05/0.1288, allocations: 11.94 kB / 449.5 MB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.685e-05/0.1288, allocations: 0 / 449.5 MB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.686e-05/0.1289, allocations: 7.984 kB / 449.5 MB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.1289, allocations: 4 kB / 449.5 MB, free: 6.207 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001126/0.129, allocations: 140.1 kB / 449.7 MB, free: 6.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.129, allocations: 4 kB / 449.7 MB, free: 6.066 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002607/0.1293, allocations: 27.98 kB / 449.7 MB, free: 6.039 MB / 382.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00144/0.1307, allocations: 1.109 MB / 450.8 MB, free: 4.938 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001765/0.1309, allocations: 55.97 kB / 450.9 MB, free: 4.883 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1309, allocations: 0 / 450.9 MB, free: 4.883 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.643e-05/0.131, allocations: 27.94 kB / 450.9 MB, free: 4.855 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.1314, allocations: 28.41 kB / 450.9 MB, free: 4.828 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/0.133, allocations: 1.654 MB / 452.6 MB, free: 3.082 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.1333, allocations: 0.7043 MB / 453.3 MB, free: 2.352 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.249e-05/0.1333, allocations: 16.88 kB / 453.3 MB, free: 2.336 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.484e-05/0.1334, allocations: 31.42 kB / 453.3 MB, free: 2.305 MB / 382.1 MB Notification: Performance of SimCode: time 1.693e-06/0.1334, allocations: 0 / 453.3 MB, free: 2.305 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2175/0.3509, allocations: 2.928 MB / 456.2 MB, free: 45.45 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001462/0.3511, allocations: 231.1 kB / 456.5 MB, free: 45.2 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.817/2.168, allocations: 0 / 456.5 MB, free: 45.2 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test22_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test22.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches