Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40",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.001099/0.001099, allocations: 104.7 kB / 17.63 MB, free: 5.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.001112/0.001112, allocations: 192 kB / 18.56 MB, free: 4.434 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.382/1.382, allocations: 222.9 MB / 242.3 MB, free: 15.17 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.2135/0.2135, allocations: 44.18 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 64.92 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1096, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003334/0.113, allocations: 1.7 MB / 471.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.1147, allocations: 0.8769 MB / 471.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.224e-05/0.1148, allocations: 11.94 kB / 472 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003538/0.1151, allocations: 75.75 kB / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002582/0.1154, allocations: 79.66 kB / 472.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000332/0.1158, allocations: 102.9 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001906/0.116, allocations: 111.7 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.1161, allocations: 16.22 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.827e-05/0.1162, allocations: 51.77 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.1163, allocations: 63.75 kB / 472.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.1164, allocations: 4 kB / 472.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001413/0.1165, allocations: 39.98 kB / 472.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.637e-05/0.1166, allocations: 19.92 kB / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.747e-05/0.1166, allocations: 31.75 kB / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002762/0.1169, allocations: 115.9 kB / 472.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.1169, allocations: 0 / 472.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.117, allocations: 3.938 kB / 472.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.117, allocations: 0 / 472.7 MB, free: 10.96 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.000679/0.1177, allocations: 422.9 kB / 473.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.551e-05/0.1177, allocations: 12.03 kB / 473.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.844e-05/0.1178, allocations: 34.75 kB / 473.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.169e-05/0.1179, allocations: 12.78 kB / 473.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003394/0.1182, allocations: 216 kB / 473.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.1182, allocations: 384 / 473.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.1183, allocations: 11.94 kB / 473.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.1184, allocations: 53.67 kB / 473.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.1185, allocations: 4 kB / 473.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.1185, allocations: 0 / 473.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.1185, allocations: 11.92 kB / 473.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.231e-05/0.1186, allocations: 12 kB / 473.4 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003989/0.119, allocations: 288.9 kB / 473.7 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/0.1192, allocations: 58.69 kB / 473.8 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.579e-05/0.1192, allocations: 24.78 kB / 473.8 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/0.1193, allocations: 0 / 473.8 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002367/0.1195, allocations: 67.39 kB / 473.9 MB, free: 9.578 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.1195, allocations: 0 / 473.9 MB, free: 9.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006764/0.1202, allocations: 181.3 kB / 474 MB, free: 9.395 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.1203, allocations: 59.34 kB / 474.1 MB, free: 9.324 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002235/0.1205, allocations: 215.4 kB / 474.3 MB, free: 9.102 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.1205, allocations: 29.7 kB / 474.3 MB, free: 9.066 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.61e-05/0.1206, allocations: 104.1 kB / 474.4 MB, free: 8.961 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.291e-05/0.1206, allocations: 27.64 kB / 474.5 MB, free: 8.934 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-05/0.1207, allocations: 21.72 kB / 474.5 MB, free: 8.906 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.1208, allocations: 322.8 kB / 474.8 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.378e-05/0.1209, allocations: 23.98 kB / 474.8 MB, free: 8.559 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.904e-05/0.121, allocations: 37.7 kB / 474.9 MB, free: 8.516 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.1211, allocations: 65.78 kB / 474.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1211, allocations: 0 / 474.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002083/0.1214, allocations: 105.5 kB / 475 MB, free: 8.336 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.1214, allocations: 4 kB / 475 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.1214, allocations: 4 kB / 475 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.1214, allocations: 0 / 475 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.1215, allocations: 20.02 kB / 475.1 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.1215, allocations: 0 / 475.1 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.009e-05/0.1216, allocations: 7.938 kB / 475.1 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.1216, allocations: 8 kB / 475.1 MB, free: 8.293 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.0001312/0.1218, allocations: 121.8 kB / 475.2 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.735e-05/0.1218, allocations: 16 kB / 475.2 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.084e-05/0.1218, allocations: 17.39 kB / 475.2 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.1219, allocations: 3.938 kB / 475.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.1219, allocations: 7.938 kB / 475.2 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.1219, allocations: 7.938 kB / 475.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005138/0.1224, allocations: 387.4 kB / 475.6 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1224, allocations: 0 / 475.6 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.321e-05/0.1225, allocations: 11.94 kB / 475.6 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.1225, allocations: 3.938 kB / 475.6 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.1225, allocations: 3.984 kB / 475.6 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1225, allocations: 4 kB / 475.6 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1225, allocations: 32 / 475.6 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000252/0.1228, allocations: 208.2 kB / 475.8 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.559e-05/0.1228, allocations: 85.02 kB / 475.9 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.1229, allocations: 3.938 kB / 475.9 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.267e-05/0.1229, allocations: 7.984 kB / 475.9 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.528e-05/0.123, allocations: 15.86 kB / 476 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.123, allocations: 8 kB / 476 MB, free: 7.293 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001568/0.1232, allocations: 164.2 kB / 476.1 MB, free: 7.133 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1232, allocations: 0 / 476.1 MB, free: 7.133 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002738/0.1235, allocations: 27.98 kB / 476.1 MB, free: 7.105 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.001906/0.1254, allocations: 1.086 MB / 477.2 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002918/0.1257, allocations: 71.88 kB / 477.3 MB, free: 6.105 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1257, allocations: 0 / 477.3 MB, free: 6.105 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.806e-05/0.1258, allocations: 35.98 kB / 477.3 MB, free: 6.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004184/0.1262, allocations: 23.92 kB / 477.4 MB, free: 6.047 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002296/0.1285, allocations: 1.687 MB / 479 MB, free: 4.273 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.1288, allocations: 0.7119 MB / 479.8 MB, free: 3.535 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.377e-05/0.1289, allocations: 8.562 kB / 479.8 MB, free: 3.527 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.314e-05/0.129, allocations: 43.41 kB / 479.8 MB, free: 3.484 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.129, allocations: 0 / 479.8 MB, free: 3.484 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02114/0.1501, allocations: 3.398 MB / 483.2 MB, free: 180 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.372/7.523, allocations: 11.92 kB / 483.2 MB, free: 168 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches