Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test45",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.0009651/0.0009652, allocations: 97.8 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.001017/0.001017, allocations: 172.3 kB / 18.25 MB, free: 5.527 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.286/1.286, allocations: 223.3 MB / 242.3 MB, free: 212 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.183/0.183, allocations: 44.24 MB / 337.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005452/0.0005452, allocations: 8.719 kB / 410.4 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1159, allocations: 61.92 MB / 472.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.002059/0.1181, allocations: 1.421 MB / 473.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001441/0.1195, allocations: 0.8459 MB / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.449e-05/0.1196, allocations: 0 / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003211/0.12, allocations: 43.88 kB / 474.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002055/0.1202, allocations: 47.83 kB / 474.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003444/0.1206, allocations: 95.77 kB / 474.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001619/0.1207, allocations: 87.7 kB / 474.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.854e-05/0.1208, allocations: 8.234 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.152e-05/0.1209, allocations: 43.77 kB / 475 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.785e-05/0.121, allocations: 31.8 kB / 475 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.121, allocations: 4 kB / 475 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.1212, allocations: 39.98 kB / 475 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.11e-05/0.1212, allocations: 23.91 kB / 475 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.44e-05/0.1213, allocations: 57.45 kB / 475.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002124/0.1215, allocations: 111.9 kB / 475.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.1215, allocations: 0 / 475.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1215, allocations: 4 kB / 475.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.1215, allocations: 0 / 475.2 MB, free: 10.37 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.0005622/0.1221, allocations: 409.2 kB / 475.6 MB, free: 9.922 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.1222, allocations: 19.95 kB / 475.6 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.53e-05/0.1222, allocations: 30.75 kB / 475.7 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.998e-05/0.1223, allocations: 12.84 kB / 475.7 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002477/0.1225, allocations: 204.8 kB / 475.9 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.1226, allocations: 8.375 kB / 475.9 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.466e-05/0.1226, allocations: 3.938 kB / 475.9 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.1227, allocations: 57.67 kB / 475.9 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.1228, allocations: 0 / 475.9 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.1228, allocations: 0 / 475.9 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.1228, allocations: 0 / 475.9 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.961e-05/0.1229, allocations: 31.91 kB / 476 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004159/0.1233, allocations: 284.8 kB / 476.3 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.1235, allocations: 62.67 kB / 476.3 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.493e-05/0.1236, allocations: 20.86 kB / 476.3 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.1236, allocations: 4 kB / 476.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001963/0.1238, allocations: 71.33 kB / 476.4 MB, free: 9 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.1238, allocations: 0 / 476.4 MB, free: 9 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005709/0.1244, allocations: 173.1 kB / 476.6 MB, free: 8.824 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.1244, allocations: 51.41 kB / 476.6 MB, free: 8.762 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002093/0.1246, allocations: 207.3 kB / 476.8 MB, free: 8.543 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.1247, allocations: 25.7 kB / 476.9 MB, free: 8.512 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.306e-05/0.1247, allocations: 108.1 kB / 477 MB, free: 8.402 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.668e-05/0.1248, allocations: 23.7 kB / 477 MB, free: 8.379 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.555e-05/0.1248, allocations: 13.72 kB / 477 MB, free: 8.359 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.125, allocations: 326.8 kB / 477.3 MB, free: 8.031 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.651e-05/0.125, allocations: 15.98 kB / 477.3 MB, free: 8.016 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.371e-05/0.1251, allocations: 37.7 kB / 477.4 MB, free: 7.973 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.1252, allocations: 65.64 kB / 477.4 MB, free: 7.902 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1252, allocations: 0 / 477.4 MB, free: 7.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001847/0.1254, allocations: 97.58 kB / 477.5 MB, free: 7.801 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.1254, allocations: 4 kB / 477.5 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.1255, allocations: 0 / 477.5 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.1255, allocations: 7.938 kB / 477.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.601e-05/0.1256, allocations: 19.98 kB / 477.6 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.1256, allocations: 3.938 kB / 477.6 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.773e-05/0.1256, allocations: 8.156 kB / 477.6 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.1257, allocations: 4 kB / 477.6 MB, free: 7.754 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.0001005/0.1258, allocations: 137.7 kB / 477.7 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.072e-05/0.1258, allocations: 11.81 kB / 477.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.286e-05/0.1258, allocations: 17.41 kB / 477.7 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.1258, allocations: 0 / 477.7 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1259, allocations: 0 / 477.7 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.1259, allocations: 3.938 kB / 477.7 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004236/0.1263, allocations: 399.3 kB / 478.1 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1263, allocations: 0 / 478.1 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.103e-05/0.1263, allocations: 11.94 kB / 478.1 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.1264, allocations: 3.938 kB / 478.2 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.1264, allocations: 4 kB / 478.2 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1264, allocations: 0 / 478.2 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1264, allocations: 0 / 478.2 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002199/0.1266, allocations: 204.2 kB / 478.4 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.997e-05/0.1267, allocations: 89 kB / 478.4 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.1267, allocations: 8.312 kB / 478.5 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.232e-05/0.1268, allocations: 4 kB / 478.5 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.816e-05/0.1268, allocations: 7.984 kB / 478.5 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.1268, allocations: 8 kB / 478.5 MB, free: 6.758 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001165/0.127, allocations: 152.9 kB / 478.6 MB, free: 6.609 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.364e-06/0.127, allocations: 0 / 478.6 MB, free: 6.609 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002628/0.1272, allocations: 27.94 kB / 478.6 MB, free: 6.582 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.001447/0.1287, allocations: 1.103 MB / 479.7 MB, free: 5.637 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001735/0.1289, allocations: 55.92 kB / 479.8 MB, free: 5.582 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1289, allocations: 3.938 kB / 479.8 MB, free: 5.578 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.083e-05/0.129, allocations: 31.92 kB / 479.8 MB, free: 5.547 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.1293, allocations: 27.97 kB / 479.9 MB, free: 5.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001682/0.131, allocations: 1.677 MB / 481.5 MB, free: 3.754 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.1313, allocations: 0.7043 MB / 482.2 MB, free: 3.023 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.884e-05/0.1314, allocations: 21.17 kB / 482.3 MB, free: 3.004 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.421e-05/0.1315, allocations: 35.42 kB / 482.3 MB, free: 2.969 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1315, allocations: 0 / 482.3 MB, free: 2.969 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01217/0.1436, allocations: 2.995 MB / 485.3 MB, free: 96 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002217/0.1439, allocations: 233.4 kB / 485.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.663/1.807, allocations: 0 / 485.5 MB, free: 15.84 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test45_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test45.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches