Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test37,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test37",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.007327/0.007328, allocations: 100.2 kB / 15.87 MB, free: 6.309 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.00145/0.00145, allocations: 195.6 kB / 16.79 MB, free: 6.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.558/1.558, allocations: 205.1 MB / 222.6 MB, free: 4.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3546/0.3546, allocations: 43.5 MB / 313.5 MB, free: 8.543 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 78.5 kB / 382.1 MB, free: 8.602 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1235, allocations: 57.78 MB / 439.9 MB, free: 14.72 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003162/0.1267, allocations: 1.714 MB / 441.6 MB, free: 12.99 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001126/0.1279, allocations: 0.769 MB / 442.4 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.115e-05/0.1279, allocations: 4 kB / 442.4 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002932/0.1282, allocations: 63.8 kB / 442.5 MB, free: 12.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001764/0.1284, allocations: 59.8 kB / 442.5 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002071/0.1286, allocations: 71.86 kB / 442.6 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001618/0.1288, allocations: 95.67 kB / 442.7 MB, free: 11.92 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.293e-05/0.1289, allocations: 7.984 kB / 442.7 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.281e-05/0.129, allocations: 43.78 kB / 442.7 MB, free: 11.87 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.1291, allocations: 43.83 kB / 442.8 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.1291, allocations: 4 kB / 442.8 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.36e-05/0.1292, allocations: 31.98 kB / 442.8 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.855e-05/0.1292, allocations: 19.86 kB / 442.8 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.768e-05/0.1293, allocations: 27.8 kB / 442.9 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.1295, allocations: 99.94 kB / 443 MB, free: 11.65 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1295, allocations: 3.938 kB / 443 MB, free: 11.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1295, allocations: 0 / 443 MB, free: 11.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1295, allocations: 0 / 443 MB, free: 11.64 MB / 382.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.0005685/0.1301, allocations: 406.9 kB / 443.4 MB, free: 11.2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.1301, allocations: 12.03 kB / 443.4 MB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.559e-05/0.1302, allocations: 34.75 kB / 443.4 MB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.002e-05/0.1302, allocations: 8.844 kB / 443.4 MB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.1305, allocations: 216 kB / 443.6 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.1305, allocations: 384 / 443.6 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.1305, allocations: 7.938 kB / 443.6 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.1306, allocations: 49.67 kB / 443.7 MB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.1307, allocations: 0 / 443.7 MB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.976e-06/0.1307, allocations: 0 / 443.7 MB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.1307, allocations: 0 / 443.7 MB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.391e-05/0.1308, allocations: 23.97 kB / 443.7 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001851/0.131, allocations: 177.7 kB / 443.9 MB, free: 10.58 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.1311, allocations: 58.5 kB / 443.9 MB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.191e-05/0.1312, allocations: 20.84 kB / 444 MB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.1312, allocations: 0 / 444 MB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001843/0.1314, allocations: 71.39 kB / 444 MB, free: 10.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.1314, allocations: 0 / 444 MB, free: 10.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002944/0.1317, allocations: 97.52 kB / 444.1 MB, free: 10.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.1318, allocations: 51.41 kB / 444.2 MB, free: 10.24 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.1319, allocations: 182.1 kB / 444.4 MB, free: 10.05 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.132, allocations: 33.7 kB / 444.4 MB, free: 10.01 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.843e-05/0.132, allocations: 96.14 kB / 444.5 MB, free: 9.914 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.06e-05/0.132, allocations: 11.89 kB / 444.5 MB, free: 9.902 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.352e-05/0.1321, allocations: 21.72 kB / 444.5 MB, free: 9.875 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.1322, allocations: 318.8 kB / 444.8 MB, free: 9.555 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.95e-05/0.1323, allocations: 15.98 kB / 444.8 MB, free: 9.539 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.353e-05/0.1323, allocations: 29.72 kB / 444.9 MB, free: 9.504 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.476e-05/0.1324, allocations: 49.64 kB / 444.9 MB, free: 9.449 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.1325, allocations: 3.938 kB / 444.9 MB, free: 9.445 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001708/0.1326, allocations: 77.59 kB / 445 MB, free: 9.363 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.1327, allocations: 4 kB / 445 MB, free: 9.359 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.1327, allocations: 0 / 445 MB, free: 9.359 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.1327, allocations: 0 / 445 MB, free: 9.359 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.406e-05/0.1328, allocations: 23.86 kB / 445 MB, free: 9.336 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.1328, allocations: 0 / 445 MB, free: 9.336 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.322e-05/0.1328, allocations: 3.906 kB / 445 MB, free: 9.332 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.1328, allocations: 4 kB / 445 MB, free: 9.328 MB / 382.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 9.107e-05/0.1329, allocations: 137.7 kB / 445.2 MB, free: 9.184 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.839e-05/0.133, allocations: 11.84 kB / 445.2 MB, free: 9.172 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.117e-05/0.133, allocations: 8.312 kB / 445.2 MB, free: 9.168 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.133, allocations: 4 kB / 445.2 MB, free: 9.164 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.133, allocations: 3.984 kB / 445.2 MB, free: 9.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.133, allocations: 0 / 445.2 MB, free: 9.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/0.1331, allocations: 189.9 kB / 445.4 MB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.1332, allocations: 0 / 445.4 MB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.81e-05/0.1332, allocations: 4 kB / 445.4 MB, free: 8.922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.1332, allocations: 8 kB / 445.4 MB, free: 8.914 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.1332, allocations: 0 / 445.4 MB, free: 8.914 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1332, allocations: 0 / 445.4 MB, free: 8.914 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1332, allocations: 0 / 445.4 MB, free: 8.914 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001673/0.1334, allocations: 112.9 kB / 445.5 MB, free: 8.785 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.085e-05/0.1334, allocations: 88.92 kB / 445.6 MB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.1335, allocations: 3.984 kB / 445.6 MB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.092e-05/0.1335, allocations: 8 kB / 445.6 MB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.862e-05/0.1335, allocations: 4 kB / 445.6 MB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.1336, allocations: 4 kB / 445.6 MB, free: 8.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.908e-05/0.1337, allocations: 144 kB / 445.8 MB, free: 8.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1337, allocations: 0 / 445.8 MB, free: 8.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002012/0.1339, allocations: 16 kB / 445.8 MB, free: 8.504 MB / 382.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.001274/0.1352, allocations: 0.9598 MB / 446.7 MB, free: 7.555 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001461/0.1353, allocations: 39.97 kB / 446.8 MB, free: 7.516 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1353, allocations: 0 / 446.8 MB, free: 7.516 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.305e-05/0.1354, allocations: 19.94 kB / 446.8 MB, free: 7.496 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.1357, allocations: 35.19 kB / 446.8 MB, free: 7.465 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.1371, allocations: 1.467 MB / 448.3 MB, free: 5.906 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/0.1374, allocations: 0.7082 MB / 449 MB, free: 5.172 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.245e-05/0.1374, allocations: 20.41 kB / 449 MB, free: 5.152 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.475e-05/0.1375, allocations: 23.44 kB / 449 MB, free: 5.129 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1375, allocations: 0 / 449 MB, free: 5.129 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01326/0.1508, allocations: 2.837 MB / 451.9 MB, free: 2.27 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000227/0.151, allocations: 234.4 kB / 452.1 MB, free: 2.016 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.586/1.737, allocations: 0 / 452.1 MB, free: 2.016 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test37_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches