Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80",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.001017/0.001017, allocations: 113.9 kB / 17.33 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.0009918/0.0009917, 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.319/1.319, allocations: 222.9 MB / 241.9 MB, free: 15.48 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.1916/0.1916, allocations: 44.18 MB / 336.3 MB, free: 2.973 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 66.08 kB / 408 MB, free: 27.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1028, allocations: 60.83 MB / 468.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003484/0.1063, allocations: 1.839 MB / 470.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002182/0.1086, allocations: 1.538 MB / 472.2 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.207e-05/0.1086, allocations: 0 / 472.2 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003387/0.109, allocations: 51.77 kB / 472.3 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000284/0.1093, allocations: 79.67 kB / 472.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000369/0.1097, allocations: 147.2 kB / 472.5 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002454/0.11, allocations: 179.5 kB / 472.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.845e-05/0.11, allocations: 13.56 kB / 472.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.1102, allocations: 83.58 kB / 472.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001933/0.1104, allocations: 75.61 kB / 472.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.457e-05/0.1104, allocations: 8 kB / 472.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.1105, allocations: 63.97 kB / 472.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.325e-05/0.1106, allocations: 31.84 kB / 472.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.793e-05/0.1107, allocations: 63.61 kB / 473 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002636/0.111, allocations: 167.8 kB / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.111, allocations: 0 / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.111, allocations: 4 kB / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.111, allocations: 0 / 473.2 MB, free: 10.29 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006935/0.1117, allocations: 474.5 kB / 473.6 MB, free: 9.777 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.1117, allocations: 8.031 kB / 473.6 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.067e-05/0.1118, allocations: 38.73 kB / 473.7 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.298e-05/0.1118, allocations: 16.78 kB / 473.7 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002855/0.1121, allocations: 239.9 kB / 473.9 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.1122, allocations: 384 / 473.9 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.1122, allocations: 11.94 kB / 473.9 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002221/0.1124, allocations: 97.02 kB / 474 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.1124, allocations: 4 kB / 474 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.045e-05/0.1125, allocations: 7.984 kB / 474 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.1125, allocations: 0 / 474 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000126/0.1126, allocations: 23.98 kB / 474.1 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002477/0.1129, allocations: 222.5 kB / 474.3 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002673/0.1131, allocations: 109.1 kB / 474.4 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.1133, allocations: 41.7 kB / 474.4 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.1133, allocations: 4 kB / 474.4 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002541/0.1135, allocations: 113 kB / 474.5 MB, free: 8.699 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.313e-06/0.1136, allocations: 0 / 474.5 MB, free: 8.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004401/0.114, allocations: 165.4 kB / 474.7 MB, free: 8.531 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.478e-05/0.1141, allocations: 136.5 kB / 474.8 MB, free: 8.367 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002216/0.1143, allocations: 211.7 kB / 475 MB, free: 8.152 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.1144, allocations: 33.7 kB / 475.1 MB, free: 8.113 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.118e-05/0.1144, allocations: 108.1 kB / 475.2 MB, free: 8.004 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.449e-05/0.1145, allocations: 31.55 kB / 475.2 MB, free: 7.973 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.825e-05/0.1145, allocations: 29.72 kB / 475.2 MB, free: 7.938 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.1147, allocations: 330.8 kB / 475.6 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.905e-05/0.1148, allocations: 31.98 kB / 475.6 MB, free: 7.574 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.1149, allocations: 68.02 kB / 475.7 MB, free: 7.492 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.1151, allocations: 91.34 kB / 475.7 MB, free: 7.391 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.1151, allocations: 7.969 kB / 475.8 MB, free: 7.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002569/0.1154, allocations: 133.4 kB / 475.9 MB, free: 7.246 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.1154, allocations: 4 kB / 475.9 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.1154, allocations: 0.625 kB / 475.9 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.1154, allocations: 4 kB / 475.9 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.1155, allocations: 19.98 kB / 475.9 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.1155, allocations: 0 / 475.9 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.891e-05/0.1156, allocations: 12 kB / 475.9 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.1157, allocations: 16.05 kB / 475.9 MB, free: 7.191 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001127/0.1158, allocations: 134.2 kB / 476.1 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.307e-05/0.1158, allocations: 19.75 kB / 476.1 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.796e-05/0.1159, allocations: 20.98 kB / 476.1 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1159, allocations: 0 / 476.1 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.1159, allocations: 4 kB / 476.1 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.1159, allocations: 0 / 476.1 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001875/0.1161, allocations: 225.4 kB / 476.3 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1161, allocations: 0 / 476.3 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.169e-05/0.1161, allocations: 8 kB / 476.3 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1161, allocations: 8 kB / 476.4 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.1162, allocations: 0 / 476.4 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.1162, allocations: 4 kB / 476.4 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1162, allocations: 0 / 476.4 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002822/0.1165, allocations: 169.6 kB / 476.5 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.977e-05/0.1165, allocations: 88.95 kB / 476.6 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.384e-05/0.1166, allocations: 8 kB / 476.6 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.682e-05/0.1167, allocations: 7.984 kB / 476.6 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.929e-05/0.1167, allocations: 7.938 kB / 476.6 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-05/0.1167, allocations: 19.92 kB / 476.7 MB, free: 6.379 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001447/0.1169, allocations: 152.2 kB / 476.8 MB, free: 6.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1169, allocations: 0 / 476.8 MB, free: 6.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002473/0.1171, allocations: 39.98 kB / 476.8 MB, free: 6.191 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001516/0.1187, allocations: 1.052 MB / 477.9 MB, free: 5.289 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002588/0.1189, allocations: 91.89 kB / 478 MB, free: 5.199 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1189, allocations: 0 / 478 MB, free: 5.199 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.1191, allocations: 43.92 kB / 478 MB, free: 5.156 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003759/0.1194, allocations: 53.89 kB / 478.1 MB, free: 5.109 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002206/0.1217, allocations: 1.847 MB / 479.9 MB, free: 3.152 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/0.122, allocations: 0.7086 MB / 480.6 MB, free: 2.418 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000106/0.1221, allocations: 41.5 kB / 480.7 MB, free: 2.371 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.175e-05/0.1222, allocations: 51.41 kB / 480.7 MB, free: 2.32 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1222, allocations: 0 / 480.7 MB, free: 2.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01721/0.1394, allocations: 4.512 MB / 485.2 MB, free: 13.93 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002626/0.1397, allocations: 237.8 kB / 485.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.838/1.978, allocations: 0 / 485.5 MB, free: 13.68 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches