Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13",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.0008132/0.0008134, 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.000936/0.000936, 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.28/1.28, allocations: 223.3 MB / 242.3 MB, free: 216 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.1839/0.1839, allocations: 44.25 MB / 337.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002836/0.0002835, allocations: 12 kB / 410.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1051, allocations: 61.92 MB / 472.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.001834/0.1069, allocations: 1.625 MB / 474 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.1081, allocations: 0.8772 MB / 474.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.709e-05/0.1082, allocations: 3.938 kB / 474.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002342/0.1084, allocations: 35.84 kB / 474.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001467/0.1086, allocations: 51.75 kB / 475 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002813/0.1089, allocations: 103.8 kB / 475.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001622/0.1091, allocations: 131.6 kB / 475.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.695e-05/0.1092, allocations: 25.48 kB / 475.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.044e-05/0.1093, allocations: 59.64 kB / 475.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.149e-05/0.1093, allocations: 35.73 kB / 475.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.1094, allocations: 4 kB / 475.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.145e-05/0.1094, allocations: 43.97 kB / 475.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.571e-05/0.1095, allocations: 23.92 kB / 475.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.351e-05/0.1096, allocations: 77.36 kB / 475.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.1098, allocations: 143.7 kB / 475.6 MB, free: 10 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.1098, allocations: 3.938 kB / 475.6 MB, free: 9.996 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.1098, allocations: 0 / 475.6 MB, free: 9.996 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.586e-06/0.1098, allocations: 3.938 kB / 475.6 MB, free: 9.992 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004762/0.1103, allocations: 456.7 kB / 476 MB, free: 9.492 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.1103, allocations: 8.031 kB / 476 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.755e-05/0.1103, allocations: 42.73 kB / 476.1 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.349e-05/0.1104, allocations: 12.75 kB / 476.1 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.1106, allocations: 223.9 kB / 476.3 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.1106, allocations: 8.375 kB / 476.3 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.1106, allocations: 7.938 kB / 476.3 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/0.1108, allocations: 112.2 kB / 476.4 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.1109, allocations: 0 / 476.4 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.1109, allocations: 4 kB / 476.5 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.1109, allocations: 4 kB / 476.5 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001404/0.111, allocations: 55.91 kB / 476.5 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004788/0.1115, allocations: 0.5126 MB / 477 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002759/0.1118, allocations: 90.66 kB / 477.1 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.059e-05/0.1119, allocations: 40.84 kB / 477.2 MB, free: 8.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.1119, allocations: 0 / 477.2 MB, free: 8.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001918/0.1121, allocations: 91.3 kB / 477.2 MB, free: 8.148 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.1121, allocations: 0 / 477.2 MB, free: 8.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003563/0.1125, allocations: 157.3 kB / 477.4 MB, free: 7.988 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.1125, allocations: 51.41 kB / 477.4 MB, free: 7.926 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.1127, allocations: 191.4 kB / 477.6 MB, free: 7.723 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.1127, allocations: 25.7 kB / 477.7 MB, free: 7.691 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.044e-05/0.1128, allocations: 116 kB / 477.8 MB, free: 7.574 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.1128, allocations: 27.61 kB / 477.8 MB, free: 7.547 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.704e-05/0.1129, allocations: 17.72 kB / 477.8 MB, free: 7.523 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.641e-05/0.113, allocations: 331.2 kB / 478.1 MB, free: 7.191 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.557e-05/0.113, allocations: 31.97 kB / 478.2 MB, free: 7.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.448e-05/0.1131, allocations: 63.66 kB / 478.2 MB, free: 7.086 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001781/0.1133, allocations: 112.1 kB / 478.3 MB, free: 6.961 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1133, allocations: 0 / 478.3 MB, free: 6.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002457/0.1136, allocations: 137.4 kB / 478.5 MB, free: 6.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.1136, allocations: 10.5 kB / 478.5 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1136, allocations: 0 / 478.5 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.1136, allocations: 7.938 kB / 478.5 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.018e-05/0.1137, allocations: 19.98 kB / 478.5 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.1138, allocations: 7.938 kB / 478.5 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.636e-05/0.1138, allocations: 19.84 kB / 478.5 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.1138, allocations: 8.125 kB / 478.5 MB, free: 6.75 MB / 350.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: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.358e-05/0.1139, allocations: 125.8 kB / 478.7 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.094e-05/0.114, allocations: 11.81 kB / 478.7 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.639e-05/0.114, allocations: 13.41 kB / 478.7 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.114, allocations: 7.938 kB / 478.7 MB, free: 6.586 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.114, allocations: 3.984 kB / 478.7 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.114, allocations: 0 / 478.7 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001443/0.1142, allocations: 209.6 kB / 478.9 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1142, allocations: 0 / 478.9 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.907e-05/0.1143, allocations: 16 kB / 478.9 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.1143, allocations: 0 / 478.9 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.1143, allocations: 4 kB / 478.9 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.1143, allocations: 11.86 kB / 478.9 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.1143, allocations: 4 kB / 478.9 MB, free: 6.293 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003364/0.1146, allocations: 188.9 kB / 479.1 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.43e-05/0.1147, allocations: 96.88 kB / 479.2 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/0.1147, allocations: 7.984 kB / 479.2 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.345e-05/0.1148, allocations: 11.94 kB / 479.2 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.507e-05/0.1148, allocations: 7.984 kB / 479.3 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.1149, allocations: 3.938 kB / 479.3 MB, free: 5.945 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001004/0.115, allocations: 141.2 kB / 479.4 MB, free: 5.809 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.115, allocations: 0 / 479.4 MB, free: 5.809 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002168/0.1152, allocations: 28.06 kB / 479.4 MB, free: 5.781 MB / 350.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001268/0.1165, allocations: 1.026 MB / 480.4 MB, free: 4.887 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002161/0.1167, allocations: 83.84 kB / 480.5 MB, free: 4.805 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/0.1167, allocations: 0 / 480.5 MB, free: 4.805 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.1168, allocations: 39.97 kB / 480.6 MB, free: 4.766 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002765/0.1171, allocations: 32.17 kB / 480.6 MB, free: 4.734 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/0.1188, allocations: 1.784 MB / 482.4 MB, free: 2.844 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002031/0.119, allocations: 0.7161 MB / 483.1 MB, free: 2.102 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.725e-05/0.1191, allocations: 25.41 kB / 483.1 MB, free: 2.078 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.408e-05/0.1192, allocations: 47.36 kB / 483.2 MB, free: 2.031 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1192, allocations: 0 / 483.2 MB, free: 2.031 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01264/0.1318, allocations: 3.295 MB / 486.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003326/0.1322, allocations: 230.3 kB / 486.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.731/1.864, allocations: 0 / 486.7 MB, free: 14.61 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches