Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60",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.001701/0.001701, allocations: 111 kB / 17.32 MB, free: 6.008 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.001924/0.001924, allocations: 193.3 kB / 18.25 MB, free: 5.105 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.54/1.54, allocations: 222.9 MB / 241.9 MB, free: 15.42 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.2094/0.2094, allocations: 44.18 MB / 336.2 MB, free: 2.953 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 61 kB / 408 MB, free: 27.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1132, allocations: 60.82 MB / 468.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003561/0.1168, allocations: 1.761 MB / 470.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002001/0.1188, allocations: 1.452 MB / 472 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.319e-05/0.1189, allocations: 0 / 472 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003113/0.1193, allocations: 39.84 kB / 472.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002581/0.1196, allocations: 47.83 kB / 472.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003442/0.1199, allocations: 110.9 kB / 472.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001705/0.1201, allocations: 91.7 kB / 472.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.483e-05/0.1202, allocations: 8.234 kB / 472.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.1203, allocations: 43.78 kB / 472.4 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001495/0.1205, allocations: 35.84 kB / 472.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.1205, allocations: 8 kB / 472.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001531/0.1207, allocations: 67.89 kB / 472.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.365e-05/0.1207, allocations: 19.92 kB / 472.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.213e-05/0.1208, allocations: 31.8 kB / 472.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002495/0.1211, allocations: 120 kB / 472.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1211, allocations: 3.938 kB / 472.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1211, allocations: 0 / 472.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.1211, allocations: 0 / 472.7 MB, free: 10.78 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.000557/0.1217, allocations: 395.2 kB / 473 MB, free: 10.35 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.1217, allocations: 12.03 kB / 473.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.575e-05/0.1218, allocations: 42.73 kB / 473.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.327e-05/0.1218, allocations: 8.844 kB / 473.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/0.1221, allocations: 208 kB / 473.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.1221, allocations: 8.375 kB / 473.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.318e-05/0.1221, allocations: 3.938 kB / 473.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.1223, allocations: 67.39 kB / 473.4 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.1223, allocations: 0 / 473.4 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.1223, allocations: 0 / 473.4 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1223, allocations: 4 kB / 473.4 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.424e-05/0.1224, allocations: 23.92 kB / 473.4 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003364/0.1228, allocations: 280.9 kB / 473.7 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.1229, allocations: 58.67 kB / 473.7 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.331e-05/0.123, allocations: 24.8 kB / 473.8 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.123, allocations: 0 / 473.8 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001868/0.1232, allocations: 71.33 kB / 473.8 MB, free: 9.418 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.653e-06/0.1232, allocations: 0 / 473.8 MB, free: 9.418 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005191/0.1238, allocations: 177.4 kB / 474 MB, free: 9.238 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.1238, allocations: 85.05 kB / 474.1 MB, free: 9.137 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.124, allocations: 160.2 kB / 474.2 MB, free: 8.973 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.124, allocations: 29.7 kB / 474.3 MB, free: 8.938 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.122e-05/0.124, allocations: 96.12 kB / 474.4 MB, free: 8.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/0.1241, allocations: 23.66 kB / 474.4 MB, free: 8.816 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.223e-05/0.1241, allocations: 25.72 kB / 474.4 MB, free: 8.785 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.315e-05/0.1242, allocations: 318.8 kB / 474.7 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.539e-05/0.1243, allocations: 19.98 kB / 474.7 MB, free: 8.445 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.927e-05/0.1244, allocations: 42.56 kB / 474.8 MB, free: 8.395 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/0.1245, allocations: 69.73 kB / 474.9 MB, free: 8.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.1245, allocations: 0 / 474.9 MB, free: 8.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001777/0.1247, allocations: 93.58 kB / 475 MB, free: 8.223 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.1247, allocations: 10.97 kB / 475 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.1247, allocations: 0 / 475 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.1247, allocations: 0 / 475 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.91e-05/0.1248, allocations: 23.92 kB / 475 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.1248, allocations: 8.031 kB / 475 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.892e-05/0.1249, allocations: 3.938 kB / 475 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.1249, allocations: 4 kB / 475 MB, free: 8.176 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 9.23e-05/0.125, allocations: 121.8 kB / 475.1 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.653e-05/0.125, allocations: 11.91 kB / 475.1 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.002e-05/0.1251, allocations: 8.719 kB / 475.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.1251, allocations: 0 / 475.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1251, allocations: 0 / 475.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.1251, allocations: 3.938 kB / 475.1 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004142/0.1255, allocations: 395.3 kB / 475.5 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1255, allocations: 0 / 475.5 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.455e-05/0.1256, allocations: 11.94 kB / 475.5 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.1256, allocations: 3.938 kB / 475.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.1256, allocations: 8 kB / 475.6 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.1256, allocations: 0 / 475.6 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.1256, allocations: 7.922 kB / 475.6 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002393/0.1259, allocations: 200.2 kB / 475.8 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.27e-05/0.1259, allocations: 85.02 kB / 475.8 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.018e-05/0.126, allocations: 7.938 kB / 475.8 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.432e-05/0.126, allocations: 4 kB / 475.9 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.608e-05/0.1261, allocations: 8.172 kB / 475.9 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.1261, allocations: 3.984 kB / 475.9 MB, free: 7.203 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.823e-05/0.1262, allocations: 129.9 kB / 476 MB, free: 7.078 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1262, allocations: 0 / 476 MB, free: 7.078 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002741/0.1265, allocations: 32 kB / 476 MB, free: 7.047 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.001525/0.128, allocations: 1.126 MB / 477.1 MB, free: 6.094 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002035/0.1282, allocations: 71.91 kB / 477.2 MB, free: 6.023 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1282, allocations: 0 / 477.2 MB, free: 6.023 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.317e-05/0.1283, allocations: 31.92 kB / 477.2 MB, free: 5.992 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.1287, allocations: 27.73 kB / 477.3 MB, free: 5.969 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.1303, allocations: 1.556 MB / 478.8 MB, free: 4.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.1305, allocations: 0.7001 MB / 479.5 MB, free: 3.594 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.823e-05/0.1306, allocations: 25.33 kB / 479.6 MB, free: 3.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.237e-05/0.1307, allocations: 31.42 kB / 479.6 MB, free: 3.539 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1307, allocations: 0 / 479.6 MB, free: 3.539 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01352/0.1442, allocations: 3.383 MB / 483 MB, free: 268 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003329/0.1446, allocations: 247 kB / 483.2 MB, free: 0 / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.835/1.979, allocations: 0 / 483.2 MB, free: 0 / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches