Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.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.Test14,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14",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.0008131/0.0008131, allocations: 102.8 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.001052/0.001053, allocations: 186.5 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.337/1.337, allocations: 205.4 MB / 223.1 MB, free: 5.773 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.3428/0.3428, allocations: 43.58 MB / 315 MB, free: 9 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.000467/0.000467, allocations: 16 kB / 384.7 MB, free: 7.773 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1089, allocations: 58.86 MB / 443.6 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.002203/0.1112, allocations: 1.723 MB / 445.3 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.1125, allocations: 0.8547 MB / 446.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.752e-05/0.1126, allocations: 3.938 kB / 446.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002744/0.1129, allocations: 39.83 kB / 446.2 MB, free: 10.17 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001781/0.1131, allocations: 59.7 kB / 446.2 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002716/0.1134, allocations: 107.8 kB / 446.3 MB, free: 10 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002254/0.1136, allocations: 191.4 kB / 446.5 MB, free: 9.816 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.1137, allocations: 33.88 kB / 446.6 MB, free: 9.785 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.1139, allocations: 71.64 kB / 446.6 MB, free: 9.715 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.899e-05/0.114, allocations: 67.67 kB / 446.7 MB, free: 9.648 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.335e-05/0.114, allocations: 11.94 kB / 446.7 MB, free: 9.637 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.004e-05/0.1141, allocations: 39.98 kB / 446.7 MB, free: 9.598 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.806e-05/0.1142, allocations: 31.83 kB / 446.8 MB, free: 9.566 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.173e-05/0.1143, allocations: 89.3 kB / 446.9 MB, free: 9.473 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002122/0.1145, allocations: 183.4 kB / 447 MB, free: 9.293 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.1145, allocations: 0 / 447 MB, free: 9.293 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1145, allocations: 0 / 447 MB, free: 9.293 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.1145, allocations: 4 kB / 447 MB, free: 9.289 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000823/0.1153, allocations: 0.541 MB / 447.6 MB, free: 8.688 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.1154, allocations: 11.97 kB / 447.6 MB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.095e-05/0.1154, allocations: 42.75 kB / 447.6 MB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.472e-05/0.1155, allocations: 20.73 kB / 447.7 MB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002682/0.1158, allocations: 244.7 kB / 447.9 MB, free: 8.324 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.1158, allocations: 8.375 kB / 447.9 MB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.138e-05/0.1158, allocations: 15.88 kB / 447.9 MB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000393/0.1162, allocations: 160.2 kB / 448.1 MB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.1162, allocations: 0 / 448.1 MB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.1163, allocations: 8 kB / 448.1 MB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.1163, allocations: 0 / 448.1 MB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004636/0.1167, allocations: 139.8 kB / 448.2 MB, free: 7.984 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005848/0.1173, allocations: 0.5437 MB / 448.8 MB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006609/0.118, allocations: 190.6 kB / 449 MB, free: 7.188 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002614/0.1183, allocations: 84.73 kB / 449 MB, free: 7.102 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.1183, allocations: 4 kB / 449 MB, free: 7.098 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004081/0.1187, allocations: 151.2 kB / 449.2 MB, free: 6.938 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.473e-06/0.1187, allocations: 0 / 449.2 MB, free: 6.938 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009001/0.1197, allocations: 293.3 kB / 449.5 MB, free: 6.645 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.1197, allocations: 63.33 kB / 449.5 MB, free: 6.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002112/0.1199, allocations: 223.2 kB / 449.8 MB, free: 6.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.12, allocations: 25.7 kB / 449.8 MB, free: 6.309 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.478e-05/0.1201, allocations: 128.4 kB / 449.9 MB, free: 6.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.668e-05/0.1201, allocations: 43.52 kB / 449.9 MB, free: 6.137 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.369e-05/0.1201, allocations: 21.7 kB / 450 MB, free: 6.109 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.1203, allocations: 330.8 kB / 450.3 MB, free: 5.777 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002704/0.1205, allocations: 79.89 kB / 450.4 MB, free: 5.699 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002749/0.1208, allocations: 124.2 kB / 450.5 MB, free: 5.562 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005198/0.1214, allocations: 217.8 kB / 450.7 MB, free: 5.328 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1214, allocations: 0 / 450.7 MB, free: 5.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006656/0.122, allocations: 275 kB / 451 MB, free: 5.047 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.092e-05/0.1221, allocations: 41.77 kB / 451 MB, free: 5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.1221, allocations: 0 / 451 MB, free: 5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.1221, allocations: 7.938 kB / 451 MB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001797/0.1223, allocations: 39.97 kB / 451.1 MB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.1223, allocations: 4 kB / 451.1 MB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001879/0.1225, allocations: 39.81 kB / 451.1 MB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/0.1225, allocations: 8 kB / 451.1 MB, free: 4.902 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001191/0.1227, allocations: 134.5 kB / 451.2 MB, free: 4.762 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.639e-05/0.1227, allocations: 15.81 kB / 451.3 MB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.71e-05/0.1228, allocations: 25.39 kB / 451.3 MB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.1228, allocations: 7.875 kB / 451.3 MB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.1228, allocations: 0 / 451.3 MB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.1228, allocations: 3.984 kB / 451.3 MB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001986/0.123, allocations: 245.4 kB / 451.5 MB, free: 4.422 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.123, allocations: 0 / 451.5 MB, free: 4.422 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001533/0.1232, allocations: 23.98 kB / 451.6 MB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1232, allocations: 0 / 451.6 MB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.1232, allocations: 11.98 kB / 451.6 MB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-05/0.1232, allocations: 3.938 kB / 451.6 MB, free: 4.383 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1232, allocations: 3.938 kB / 451.6 MB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008702/0.1241, allocations: 340.7 kB / 451.9 MB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.162e-05/0.1242, allocations: 88.95 kB / 452 MB, free: 3.922 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.94e-05/0.1242, allocations: 4 kB / 452 MB, free: 3.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.1244, allocations: 35.97 kB / 452 MB, free: 3.883 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.341e-05/0.1245, allocations: 19.97 kB / 452.1 MB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.1245, allocations: 4 kB / 452.1 MB, free: 3.859 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001342/0.1246, allocations: 164.6 kB / 452.2 MB, free: 3.699 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1246, allocations: 4 kB / 452.2 MB, free: 3.695 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002452/0.1249, allocations: 32 kB / 452.3 MB, free: 3.664 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001968/0.1269, allocations: 1.2 MB / 453.5 MB, free: 2.469 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006261/0.1275, allocations: 243.3 kB / 453.7 MB, free: 2.219 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.1275, allocations: 4 kB / 453.7 MB, free: 2.215 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002703/0.1278, allocations: 88 kB / 453.8 MB, free: 2.129 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.1281, allocations: 47.91 kB / 453.8 MB, free: 2.082 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1794/0.3075, allocations: 2.251 MB / 456.1 MB, free: 45.71 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001338/0.3077, allocations: 0.7196 MB / 456.8 MB, free: 45.01 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001309/0.3079, allocations: 19.02 kB / 456.8 MB, free: 45.01 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.308, allocations: 55.64 kB / 456.9 MB, free: 45 MB / 382.1 MB Notification: Performance of SimCode: time 6.72e-07/0.308, allocations: 0 / 456.9 MB, free: 45 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6729/0.9809, allocations: 4.328 MB / 461.2 MB, free: 44.76 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001559/0.9811, allocations: 229.8 kB / 461.4 MB, free: 44.51 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.948/2.929, allocations: 0 / 461.4 MB, free: 44.51 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test14/Test14.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches