Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17",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.0007499/0.0007494, allocations: 95.34 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.0008569/0.0008569, allocations: 173.8 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.298/1.298, allocations: 223.3 MB / 242.3 MB, free: 224 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2/0.2, allocations: 44.24 MB / 337.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003136/0.0003136, allocations: 12 kB / 410.4 MB, free: 27.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1093, allocations: 61.92 MB / 472.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.002041/0.1114, allocations: 1.421 MB / 473.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.1128, allocations: 0.8459 MB / 474.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.548e-05/0.1129, allocations: 0 / 474.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002958/0.1132, allocations: 27.92 kB / 474.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002038/0.1135, allocations: 43.83 kB / 474.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003278/0.1138, allocations: 95.75 kB / 474.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001839/0.114, allocations: 91.7 kB / 474.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.1141, allocations: 12.23 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.949e-05/0.1142, allocations: 39.77 kB / 474.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.032e-05/0.1143, allocations: 27.86 kB / 475 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.1143, allocations: 0 / 475 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.1144, allocations: 43.92 kB / 475 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.695e-05/0.1145, allocations: 23.91 kB / 475 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.611e-05/0.1146, allocations: 49.52 kB / 475.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002179/0.1148, allocations: 107.9 kB / 475.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.645e-06/0.1148, allocations: 8 kB / 475.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1148, allocations: 0 / 475.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1148, allocations: 7.938 kB / 475.2 MB, free: 10.38 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005215/0.1154, allocations: 387.1 kB / 475.6 MB, free: 9.949 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.1154, allocations: 12.03 kB / 475.6 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.525e-05/0.1155, allocations: 34.75 kB / 475.6 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.69e-05/0.1155, allocations: 12.78 kB / 475.6 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.1157, allocations: 204.1 kB / 475.8 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.1158, allocations: 4.359 kB / 475.8 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.1158, allocations: 11.94 kB / 475.9 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.1159, allocations: 53.67 kB / 475.9 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.116, allocations: 0 / 475.9 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.116, allocations: 4 kB / 475.9 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.116, allocations: 0 / 475.9 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.328e-05/0.1161, allocations: 19.98 kB / 475.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003616/0.1164, allocations: 292.7 kB / 476.2 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001601/0.1166, allocations: 62.67 kB / 476.3 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.005e-05/0.1167, allocations: 16.86 kB / 476.3 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.1167, allocations: 0 / 476.3 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000184/0.1169, allocations: 75.31 kB / 476.4 MB, free: 9.035 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.1169, allocations: 0 / 476.4 MB, free: 9.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005442/0.1174, allocations: 169.5 kB / 476.5 MB, free: 8.863 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.1175, allocations: 55.41 kB / 476.6 MB, free: 8.797 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.1177, allocations: 176.4 kB / 476.8 MB, free: 8.617 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.1177, allocations: 29.7 kB / 476.8 MB, free: 8.582 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.482e-05/0.1178, allocations: 100 kB / 476.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.155e-05/0.1178, allocations: 23.73 kB / 476.9 MB, free: 8.457 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.808e-05/0.1178, allocations: 13.72 kB / 476.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.811e-05/0.1179, allocations: 322.8 kB / 477.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.567e-05/0.118, allocations: 19.98 kB / 477.3 MB, free: 8.094 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.725e-05/0.1181, allocations: 37.7 kB / 477.3 MB, free: 8.051 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.1182, allocations: 65.64 kB / 477.4 MB, free: 7.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1182, allocations: 0 / 477.4 MB, free: 7.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001804/0.1184, allocations: 109.5 kB / 477.5 MB, free: 7.867 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.1184, allocations: 6.5 kB / 477.5 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-06/0.1184, allocations: 4 kB / 477.5 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.1184, allocations: 4.031 kB / 477.5 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.739e-05/0.1185, allocations: 19.92 kB / 477.5 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.1186, allocations: 192 / 477.5 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.338e-05/0.1186, allocations: 7.938 kB / 477.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.1186, allocations: 7.938 kB / 477.5 MB, free: 7.82 MB / 350.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 0.0001289/0.1188, allocations: 125.8 kB / 477.6 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.444e-05/0.1188, allocations: 7.906 kB / 477.6 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.422e-05/0.1189, allocations: 12.72 kB / 477.7 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1189, allocations: 4 kB / 477.7 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.1189, allocations: 0 / 477.7 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.1189, allocations: 7.938 kB / 477.7 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005022/0.1194, allocations: 383.3 kB / 478 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.1194, allocations: 0 / 478 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.995e-05/0.1195, allocations: 15.98 kB / 478.1 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.269e-06/0.1195, allocations: 3.938 kB / 478.1 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.1195, allocations: 4 kB / 478.1 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.1195, allocations: 3.969 kB / 478.1 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1195, allocations: 4 kB / 478.1 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002465/0.1198, allocations: 196.2 kB / 478.3 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.958e-05/0.1198, allocations: 93 kB / 478.4 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.444e-05/0.1199, allocations: 3.938 kB / 478.4 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.926e-05/0.1199, allocations: 4 kB / 478.4 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.438e-05/0.12, allocations: 15.98 kB / 478.4 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.12, allocations: 4 kB / 478.4 MB, free: 6.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001103/0.1201, allocations: 127.1 kB / 478.5 MB, free: 6.715 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1201, allocations: 4 kB / 478.5 MB, free: 6.711 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.1204, allocations: 27.98 kB / 478.5 MB, free: 6.684 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: 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.001646/0.1221, allocations: 1.101 MB / 479.6 MB, free: 5.742 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001968/0.1223, allocations: 63.83 kB / 479.7 MB, free: 5.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1223, allocations: 4.062 kB / 479.7 MB, free: 5.676 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.69e-05/0.1224, allocations: 32.14 kB / 479.7 MB, free: 5.645 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/0.1227, allocations: 34.59 kB / 479.8 MB, free: 5.617 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/0.1244, allocations: 1.622 MB / 481.4 MB, free: 3.895 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/0.1247, allocations: 0.7002 MB / 482.1 MB, free: 3.168 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.907e-05/0.1247, allocations: 12.83 kB / 482.1 MB, free: 3.152 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.766e-05/0.1248, allocations: 35.42 kB / 482.1 MB, free: 3.121 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1248, allocations: 0 / 482.1 MB, free: 3.121 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01311/0.1379, allocations: 2.877 MB / 485 MB, free: 384 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001816/0.1381, allocations: 245.4 kB / 485.3 MB, free: 112 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.828/1.966, allocations: 0 / 485.3 MB, free: 112 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches