Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test43,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test43",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.0009337/0.0009336, allocations: 94.66 kB / 17.35 MB, free: 6.371 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.0009572/0.0009574, allocations: 172.3 kB / 18.25 MB, free: 5.523 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.293/1.293, 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.199/0.199, allocations: 44.25 MB / 337.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003871/0.0003875, allocations: 12 kB / 410.4 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1137, allocations: 61.93 MB / 472.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.002248/0.116, allocations: 1.417 MB / 473.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00154/0.1175, allocations: 0.846 MB / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.1177, allocations: 0 / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003706/0.1181, allocations: 35.89 kB / 474.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002457/0.1183, allocations: 47.81 kB / 474.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004191/0.1188, allocations: 107.5 kB / 474.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000209/0.119, allocations: 87.69 kB / 474.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.1191, allocations: 20.22 kB / 474.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.1192, allocations: 35.8 kB / 475 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.1194, allocations: 39.77 kB / 475 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.1194, allocations: 0 / 475 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001483/0.1195, allocations: 39.98 kB / 475 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.66e-05/0.1196, allocations: 15.92 kB / 475.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.517e-05/0.1197, allocations: 61.44 kB / 475.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002566/0.12, allocations: 111.9 kB / 475.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.12, allocations: 0 / 475.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.12, allocations: 4 kB / 475.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.12, allocations: 4 kB / 475.2 MB, free: 10.36 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.0006489/0.1207, allocations: 407 kB / 475.6 MB, free: 9.914 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.1207, allocations: 11.97 kB / 475.6 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.3e-05/0.1208, allocations: 34.73 kB / 475.7 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.266e-05/0.1208, allocations: 12.84 kB / 475.7 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000296/0.1211, allocations: 200.8 kB / 475.9 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.1212, allocations: 8.359 kB / 475.9 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.1212, allocations: 7.938 kB / 475.9 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.1214, allocations: 53.67 kB / 476 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.1214, allocations: 4 kB / 476 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.1214, allocations: 4 kB / 476 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1214, allocations: 0 / 476 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.1216, allocations: 23.92 kB / 476 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004168/0.122, allocations: 292.8 kB / 476.3 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/0.1222, allocations: 58.69 kB / 476.3 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.636e-05/0.1222, allocations: 20.84 kB / 476.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-05/0.1223, allocations: 0 / 476.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000206/0.1225, allocations: 71.33 kB / 476.4 MB, free: 9 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.1225, allocations: 0 / 476.4 MB, free: 9 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005732/0.1231, allocations: 181.1 kB / 476.6 MB, free: 8.816 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.1231, allocations: 51.41 kB / 476.6 MB, free: 8.754 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.1233, allocations: 203.3 kB / 476.8 MB, free: 8.539 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.1233, allocations: 29.7 kB / 476.9 MB, free: 8.504 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.516e-05/0.1234, allocations: 100.1 kB / 477 MB, free: 8.402 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.112e-05/0.1234, allocations: 23.7 kB / 477 MB, free: 8.379 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.843e-05/0.1235, allocations: 17.72 kB / 477 MB, free: 8.355 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.75e-05/0.1236, allocations: 322.8 kB / 477.3 MB, free: 8.031 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.408e-05/0.1236, allocations: 23.98 kB / 477.3 MB, free: 8.008 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.009e-05/0.1237, allocations: 33.72 kB / 477.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.1238, allocations: 57.64 kB / 477.4 MB, free: 7.906 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.1238, allocations: 0 / 477.4 MB, free: 7.906 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00019/0.124, allocations: 105.6 kB / 477.5 MB, free: 7.797 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.124, allocations: 4 kB / 477.5 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.1241, allocations: 7.969 kB / 477.6 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.1241, allocations: 0 / 477.6 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.84e-05/0.1242, allocations: 16 kB / 477.6 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.1242, allocations: 3.938 kB / 477.6 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.396e-05/0.1243, allocations: 12.11 kB / 477.6 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.1243, allocations: 0 / 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.0001404/0.1244, allocations: 133.7 kB / 477.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.1244, allocations: 15.8 kB / 477.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.736e-05/0.1245, allocations: 21.41 kB / 477.7 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1245, allocations: 0 / 477.7 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.1245, allocations: 0 / 477.7 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.1245, allocations: 3.938 kB / 477.8 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004727/0.125, allocations: 391.3 kB / 478.1 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-06/0.125, allocations: 3.984 kB / 478.1 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.502e-05/0.1251, allocations: 11.94 kB / 478.2 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.9e-06/0.1251, allocations: 3.938 kB / 478.2 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.1251, allocations: 8.406 kB / 478.2 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.1251, allocations: 0 / 478.2 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.1251, allocations: 4 kB / 478.2 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002597/0.1254, allocations: 208.4 kB / 478.4 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.487e-05/0.1255, allocations: 93 kB / 478.5 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.881e-05/0.1255, allocations: 3.938 kB / 478.5 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.032e-05/0.1256, allocations: 8 kB / 478.5 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.662e-05/0.1256, allocations: 7.984 kB / 478.5 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.1256, allocations: 4 kB / 478.5 MB, free: 6.746 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001303/0.1258, allocations: 152.9 kB / 478.6 MB, free: 6.598 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1258, allocations: 3.938 kB / 478.6 MB, free: 6.594 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003422/0.1261, allocations: 20 kB / 478.7 MB, free: 6.574 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.001576/0.1277, allocations: 1.091 MB / 479.7 MB, free: 5.637 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001786/0.1279, allocations: 59.91 kB / 479.8 MB, free: 5.578 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1279, allocations: 3.938 kB / 479.8 MB, free: 5.574 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.517e-05/0.128, allocations: 35.92 kB / 479.8 MB, free: 5.539 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.1283, allocations: 19.98 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.001667/0.13, allocations: 1.674 MB / 481.5 MB, free: 3.754 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/0.1303, allocations: 0.7082 MB / 482.2 MB, free: 3.02 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.761e-05/0.1303, allocations: 21.19 kB / 482.3 MB, free: 3 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.305e-05/0.1304, allocations: 35.42 kB / 482.3 MB, free: 2.965 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1304, allocations: 0 / 482.3 MB, free: 2.965 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0128/0.1432, allocations: 2.997 MB / 485.3 MB, free: 96 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001891/0.1434, allocations: 243.7 kB / 485.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.723/1.867, allocations: 4 kB / 485.5 MB, free: 15.84 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test43_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test43.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches