Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21",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.001168/0.001168, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.001133/0.001133, allocations: 192 kB / 18.56 MB, free: 4.434 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.394/1.394, allocations: 222.9 MB / 242.3 MB, free: 15.16 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.2219/0.2219, allocations: 44.17 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 68.42 kB / 408.6 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1106, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.003223/0.1139, allocations: 1.708 MB / 471.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001447/0.1154, allocations: 0.8808 MB / 472 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.72e-05/0.1155, allocations: 0 / 472 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002906/0.1158, allocations: 35.83 kB / 472 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002252/0.116, allocations: 59.69 kB / 472 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000341/0.1164, allocations: 114.4 kB / 472.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001837/0.1166, allocations: 87.7 kB / 472.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.1167, allocations: 16.22 kB / 472.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.384e-05/0.1168, allocations: 43.78 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.193e-05/0.1169, allocations: 23.86 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.1169, allocations: 4 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.117, allocations: 43.98 kB / 472.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.739e-05/0.1171, allocations: 27.91 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.346e-05/0.1172, allocations: 31.75 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002304/0.1174, allocations: 111.8 kB / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1174, allocations: 4 kB / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1174, allocations: 3.938 kB / 472.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.1174, allocations: 0 / 472.5 MB, free: 11.06 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.0005858/0.118, allocations: 410 kB / 472.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.1181, allocations: 8.031 kB / 473 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.152e-05/0.1181, allocations: 34.75 kB / 473 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.182e-05/0.1182, allocations: 16.75 kB / 473 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002413/0.1184, allocations: 208.1 kB / 473.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.1185, allocations: 4.375 kB / 473.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.1185, allocations: 3.938 kB / 473.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.1186, allocations: 57.61 kB / 473.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.1187, allocations: 4 kB / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.1187, allocations: 0 / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.1187, allocations: 0 / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.677e-05/0.1188, allocations: 23.98 kB / 473.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000401/0.1192, allocations: 284.9 kB / 473.6 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001869/0.1194, allocations: 58.61 kB / 473.6 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.24e-05/0.1195, allocations: 20.84 kB / 473.7 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.1195, allocations: 0 / 473.7 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002318/0.1197, allocations: 75.33 kB / 473.7 MB, free: 9.707 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.906e-06/0.1198, allocations: 3.984 kB / 473.7 MB, free: 9.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005982/0.1204, allocations: 173.5 kB / 473.9 MB, free: 9.527 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.1204, allocations: 51.41 kB / 474 MB, free: 9.465 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000199/0.1206, allocations: 186.1 kB / 474.1 MB, free: 9.273 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.1206, allocations: 29.7 kB / 474.2 MB, free: 9.238 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.335e-05/0.1207, allocations: 104.1 kB / 474.3 MB, free: 9.133 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.705e-05/0.1208, allocations: 23.7 kB / 474.3 MB, free: 9.109 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.411e-05/0.1208, allocations: 25.72 kB / 474.3 MB, free: 9.078 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.1209, allocations: 322.8 kB / 474.6 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.093e-05/0.121, allocations: 24.05 kB / 474.7 MB, free: 8.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.675e-05/0.1211, allocations: 41.64 kB / 474.7 MB, free: 8.684 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.1212, allocations: 57.7 kB / 474.8 MB, free: 8.621 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1212, allocations: 4 kB / 474.8 MB, free: 8.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001832/0.1214, allocations: 101.4 kB / 474.9 MB, free: 8.512 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.1214, allocations: 8 kB / 474.9 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1214, allocations: 0 / 474.9 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.1214, allocations: 0 / 474.9 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.261e-05/0.1215, allocations: 20.17 kB / 474.9 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.1215, allocations: 4 kB / 474.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.81e-05/0.1216, allocations: 7.875 kB / 474.9 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.1216, allocations: 4 kB / 474.9 MB, free: 8.469 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.000107/0.1217, allocations: 136.9 kB / 475 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.211e-05/0.1218, allocations: 7.906 kB / 475 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.247e-05/0.1218, allocations: 16.72 kB / 475.1 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.1218, allocations: 0 / 475.1 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1218, allocations: 0 / 475.1 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.1218, allocations: 3.938 kB / 475.1 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004193/0.1223, allocations: 391.3 kB / 475.4 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1223, allocations: 4.031 kB / 475.4 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.461e-05/0.1223, allocations: 12 kB / 475.5 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.1223, allocations: 3.938 kB / 475.5 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.1223, allocations: 0 / 475.5 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.1223, allocations: 4 kB / 475.5 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1224, allocations: 0 / 475.5 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002306/0.1226, allocations: 208.4 kB / 475.7 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.146e-05/0.1226, allocations: 96.94 kB / 475.8 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.1227, allocations: 3.938 kB / 475.8 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.071e-05/0.1227, allocations: 4 kB / 475.8 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.327e-05/0.1228, allocations: 3.984 kB / 475.8 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.1228, allocations: 8 kB / 475.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001125/0.1229, allocations: 143.2 kB / 475.9 MB, free: 7.336 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1229, allocations: 0 / 475.9 MB, free: 7.336 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002713/0.1232, allocations: 27.98 kB / 476 MB, free: 7.309 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.001568/0.1248, allocations: 1.096 MB / 477 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001851/0.125, allocations: 55.97 kB / 477.1 MB, free: 6.316 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.125, allocations: 7.938 kB / 477.1 MB, free: 6.309 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.847e-05/0.1251, allocations: 27.98 kB / 477.1 MB, free: 6.281 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003517/0.1254, allocations: 23.92 kB / 477.2 MB, free: 6.258 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001821/0.1273, allocations: 1.627 MB / 478.8 MB, free: 4.531 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/0.1276, allocations: 0.708 MB / 479.5 MB, free: 3.797 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.547e-05/0.1277, allocations: 17.17 kB / 479.5 MB, free: 3.781 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.861e-05/0.1278, allocations: 35.42 kB / 479.5 MB, free: 3.746 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1278, allocations: 0 / 479.5 MB, free: 3.746 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02152/0.1493, allocations: 3.299 MB / 482.8 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.426/7.575, allocations: 13.88 kB / 482.9 MB, free: 0.5234 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches