Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2",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.0009784/0.0009784, allocations: 95 kB / 17.35 MB, free: 6.367 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.001196/0.001196, allocations: 177 kB / 18.26 MB, free: 5.523 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.353/1.353, allocations: 223.3 MB / 242.3 MB, free: 14.5 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.187/0.187, allocations: 44.25 MB / 337.7 MB, free: 2.441 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000304/0.0003041, allocations: 16.23 kB / 410.4 MB, free: 27.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1047, allocations: 61.92 MB / 472.4 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002076/0.1068, allocations: 1.417 MB / 473.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001332/0.1081, allocations: 0.8382 MB / 474.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.708e-05/0.1082, allocations: 4 kB / 474.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000251/0.1085, allocations: 35.89 kB / 474.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000174/0.1087, allocations: 35.78 kB / 474.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000298/0.109, allocations: 102.6 kB / 474.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001471/0.1092, allocations: 87.7 kB / 474.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.859e-05/0.1092, allocations: 16.22 kB / 474.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.268e-05/0.1093, allocations: 35.8 kB / 474.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.65e-05/0.1094, allocations: 31.78 kB / 475 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.1095, allocations: 4 kB / 475 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.974e-05/0.1096, allocations: 39.98 kB / 475 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.453e-05/0.1096, allocations: 11.92 kB / 475 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.172e-05/0.1097, allocations: 57.5 kB / 475.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.1099, allocations: 99.92 kB / 475.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1099, allocations: 0 / 475.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1099, allocations: 4 kB / 475.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.1099, allocations: 3.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.0004856/0.1104, allocations: 403.1 kB / 475.6 MB, free: 9.941 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.1104, allocations: 8.031 kB / 475.6 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.61e-05/0.1105, allocations: 30.75 kB / 475.6 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.187e-05/0.1105, allocations: 12.84 kB / 475.6 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/0.1107, allocations: 204.5 kB / 475.8 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.1108, allocations: 0 / 475.8 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.1108, allocations: 4 kB / 475.8 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.1109, allocations: 57.67 kB / 475.9 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.111, allocations: 0 / 475.9 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.447e-06/0.111, allocations: 0 / 475.9 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.111, allocations: 0 / 475.9 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.437e-05/0.1111, allocations: 23.92 kB / 475.9 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003519/0.1114, allocations: 288.8 kB / 476.2 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.1116, allocations: 62.69 kB / 476.3 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.371e-05/0.1117, allocations: 24.84 kB / 476.3 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.1117, allocations: 3.938 kB / 476.3 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001705/0.1119, allocations: 67.39 kB / 476.3 MB, free: 9.043 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.1119, allocations: 0 / 476.3 MB, free: 9.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005231/0.1124, allocations: 177.2 kB / 476.5 MB, free: 8.863 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.1125, allocations: 55.34 kB / 476.6 MB, free: 8.797 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.1126, allocations: 155.9 kB / 476.7 MB, free: 8.633 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.1126, allocations: 33.7 kB / 476.8 MB, free: 8.594 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.256e-05/0.1127, allocations: 100.1 kB / 476.9 MB, free: 8.492 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.1128, allocations: 23.66 kB / 476.9 MB, free: 8.469 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.591e-05/0.1128, allocations: 9.719 kB / 476.9 MB, free: 8.453 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.1129, allocations: 322.8 kB / 477.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.824e-05/0.113, allocations: 27.98 kB / 477.2 MB, free: 8.102 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.883e-05/0.1131, allocations: 33.7 kB / 477.3 MB, free: 8.062 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.1132, allocations: 65.64 kB / 477.3 MB, free: 7.992 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-06/0.1132, allocations: 0 / 477.3 MB, free: 7.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001738/0.1134, allocations: 97.52 kB / 477.4 MB, free: 7.891 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.1134, allocations: 4 kB / 477.4 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.1134, allocations: 3.969 kB / 477.4 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.1134, allocations: 8 kB / 477.4 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.458e-05/0.1135, allocations: 15.98 kB / 477.5 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.1135, allocations: 4.328 kB / 477.5 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.73e-05/0.1136, allocations: 8 kB / 477.5 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.1136, allocations: 7.938 kB / 477.5 MB, free: 7.84 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 9.654e-05/0.1137, allocations: 124.8 kB / 477.6 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.797e-05/0.1137, allocations: 7.906 kB / 477.6 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.921e-05/0.1138, allocations: 16.66 kB / 477.6 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1138, allocations: 8 kB / 477.6 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.1138, allocations: 0 / 477.6 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1138, allocations: 0 / 477.6 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004342/0.1142, allocations: 391.2 kB / 478 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.1142, allocations: 0 / 478 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.749e-05/0.1143, allocations: 15.92 kB / 478 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.1143, allocations: 0 / 478 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.1143, allocations: 7.938 kB / 478 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1143, allocations: 4.031 kB / 478 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1143, allocations: 0 / 478 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002316/0.1146, allocations: 204.2 kB / 478.2 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.929e-05/0.1146, allocations: 89 kB / 478.3 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.1146, allocations: 384 / 478.3 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.185e-05/0.1147, allocations: 8 kB / 478.3 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.641e-05/0.1148, allocations: 11.98 kB / 478.3 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.1149, allocations: 11.94 kB / 478.4 MB, free: 6.852 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.605e-05/0.115, allocations: 121.3 kB / 478.5 MB, free: 6.734 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.115, allocations: 0 / 478.5 MB, free: 6.734 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002575/0.1152, allocations: 20 kB / 478.5 MB, free: 6.715 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.00153/0.1168, allocations: 1.09 MB / 479.6 MB, free: 5.781 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001663/0.1169, allocations: 59.86 kB / 479.6 MB, free: 5.723 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.89e-06/0.117, allocations: 4.062 kB / 479.6 MB, free: 5.719 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.459e-05/0.117, allocations: 39.84 kB / 479.7 MB, free: 5.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.1174, allocations: 24.28 kB / 479.7 MB, free: 5.656 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/0.1192, allocations: 1.588 MB / 481.3 MB, free: 3.977 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.1195, allocations: 0.7004 MB / 482 MB, free: 3.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.05e-05/0.1196, allocations: 16.88 kB / 482 MB, free: 3.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.836e-05/0.1197, allocations: 31.42 kB / 482 MB, free: 3.199 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.1197, allocations: 0 / 482 MB, free: 3.199 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01279/0.1325, allocations: 2.829 MB / 484.9 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002335/0.1328, allocations: 232.7 kB / 485.1 MB, free: 244 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.687/1.819, allocations: 0 / 485.1 MB, free: 244 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches