Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86",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.001091/0.001091, allocations: 109.9 kB / 17.33 MB, free: 6 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.001086/0.001086, allocations: 193.3 kB / 18.25 MB, free: 5.086 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.308/1.308, allocations: 222.9 MB / 241.9 MB, free: 15.38 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.2005/0.2005, allocations: 44.17 MB / 336.2 MB, free: 2.953 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 63.09 kB / 408 MB, free: 27.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1022, allocations: 60.83 MB / 468.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.002938/0.1052, allocations: 1.718 MB / 470.6 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001225/0.1064, allocations: 0.8381 MB / 471.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.241e-05/0.1065, allocations: 3.938 kB / 471.4 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002859/0.1068, allocations: 59.8 kB / 471.5 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002129/0.107, allocations: 55.81 kB / 471.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002521/0.1073, allocations: 87.83 kB / 471.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000149/0.1074, allocations: 99.69 kB / 471.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.126e-05/0.1075, allocations: 7.984 kB / 471.7 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.345e-05/0.1076, allocations: 55.7 kB / 471.8 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.425e-05/0.1077, allocations: 39.84 kB / 471.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.1077, allocations: 4 kB / 471.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.752e-05/0.1078, allocations: 39.97 kB / 471.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.597e-05/0.1078, allocations: 19.92 kB / 471.9 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.011e-05/0.1079, allocations: 23.81 kB / 471.9 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001857/0.1081, allocations: 99.92 kB / 472 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1081, allocations: 0 / 472 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.1081, allocations: 0 / 472 MB, free: 11.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.1081, allocations: 3.938 kB / 472 MB, free: 11.48 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004762/0.1086, allocations: 407 kB / 472.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.1086, allocations: 12.03 kB / 472.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.065e-05/0.1087, allocations: 30.75 kB / 472.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.33e-05/0.1087, allocations: 8.844 kB / 472.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001956/0.1089, allocations: 200.1 kB / 472.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.1089, allocations: 4.375 kB / 472.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.1089, allocations: 3.938 kB / 472.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.1091, allocations: 53.67 kB / 472.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.1091, allocations: 7.938 kB / 472.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.1091, allocations: 0 / 472.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.1091, allocations: 0 / 472.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.226e-05/0.1092, allocations: 12 kB / 472.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000174/0.1094, allocations: 181.6 kB / 472.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/0.1095, allocations: 58.48 kB / 472.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.988e-05/0.1096, allocations: 24.84 kB / 473 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.1096, allocations: 4 kB / 473 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001691/0.1098, allocations: 71.31 kB / 473 MB, free: 10.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.482e-06/0.1098, allocations: 0 / 473 MB, free: 10.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002564/0.1101, allocations: 89.58 kB / 473.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.1101, allocations: 51.41 kB / 473.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.1103, allocations: 194.1 kB / 473.4 MB, free: 9.891 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.1103, allocations: 29.7 kB / 473.4 MB, free: 9.855 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.669e-05/0.1104, allocations: 96.14 kB / 473.5 MB, free: 9.758 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/0.1104, allocations: 15.8 kB / 473.5 MB, free: 9.742 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.379e-05/0.1104, allocations: 17.72 kB / 473.5 MB, free: 9.719 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.1106, allocations: 326.8 kB / 473.8 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.061e-05/0.1106, allocations: 19.88 kB / 473.9 MB, free: 9.371 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.087e-05/0.1107, allocations: 25.7 kB / 473.9 MB, free: 9.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.216e-05/0.1108, allocations: 53.7 kB / 473.9 MB, free: 9.281 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.1108, allocations: 3.938 kB / 473.9 MB, free: 9.277 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001459/0.1109, allocations: 81.84 kB / 474 MB, free: 9.191 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.111, allocations: 4 kB / 474 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.111, allocations: 4 kB / 474 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.111, allocations: 0 / 474 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.741e-05/0.1111, allocations: 11.98 kB / 474 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.1111, allocations: 8.172 kB / 474 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.318e-05/0.1111, allocations: 4 kB / 474 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.1111, allocations: 0 / 474 MB, free: 9.16 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 (7): * Single equations (assignments): 7 * 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.807e-05/0.1112, allocations: 133.8 kB / 474.2 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.945e-05/0.1113, allocations: 15.75 kB / 474.2 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.577e-05/0.1113, allocations: 16.3 kB / 474.2 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1113, allocations: 0 / 474.2 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.1113, allocations: 0 / 474.2 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.1113, allocations: 3.984 kB / 474.2 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001322/0.1115, allocations: 189.5 kB / 474.4 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1115, allocations: 0 / 474.4 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.033e-05/0.1115, allocations: 4 kB / 474.4 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1115, allocations: 0 / 474.4 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.1115, allocations: 4 kB / 474.4 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1115, allocations: 3.938 kB / 474.4 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1115, allocations: 4 kB / 474.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/0.1117, allocations: 105 kB / 474.5 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.968e-05/0.1118, allocations: 85.02 kB / 474.6 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.1118, allocations: 11.98 kB / 474.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.443e-05/0.1118, allocations: 0 / 474.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.933e-05/0.1119, allocations: 4 kB / 474.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.1119, allocations: 3.938 kB / 474.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001195/0.112, allocations: 139.2 kB / 474.8 MB, free: 8.352 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.112, allocations: 0 / 474.8 MB, free: 8.352 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002163/0.1122, allocations: 24 kB / 474.8 MB, free: 8.328 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.001215/0.1135, allocations: 0.9467 MB / 475.7 MB, free: 7.512 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001517/0.1136, allocations: 51.91 kB / 475.8 MB, free: 7.461 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1136, allocations: 0 / 475.8 MB, free: 7.461 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.654e-05/0.1137, allocations: 16 kB / 475.8 MB, free: 7.445 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/0.114, allocations: 25.66 kB / 475.8 MB, free: 7.422 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.1154, allocations: 1.496 MB / 477.3 MB, free: 5.832 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.1157, allocations: 0.7002 MB / 478 MB, free: 5.105 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.645e-05/0.1157, allocations: 12.55 kB / 478 MB, free: 5.094 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.374e-05/0.1158, allocations: 27.44 kB / 478.1 MB, free: 5.066 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1158, allocations: 3.938 kB / 478.1 MB, free: 5.062 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01439/0.1302, allocations: 2.901 MB / 481 MB, free: 2.27 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002016/0.1304, allocations: 246 kB / 481.2 MB, free: 2.008 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.768/1.899, allocations: 0 / 481.2 MB, free: 2.008 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches