Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28",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.001324/0.001324, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001183/0.001183, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.322/1.322, allocations: 222.9 MB / 242.3 MB, free: 15.2 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.2193/0.2193, allocations: 44.17 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 72.52 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.121, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.003634/0.1246, allocations: 1.688 MB / 471.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001372/0.126, allocations: 0.8808 MB / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.404e-05/0.1261, allocations: 0 / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002664/0.1264, allocations: 47.69 kB / 472 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002101/0.1267, allocations: 51.77 kB / 472 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003267/0.127, allocations: 115.5 kB / 472.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001678/0.1272, allocations: 99.69 kB / 472.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.766e-05/0.1273, allocations: 8.219 kB / 472.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.941e-05/0.1274, allocations: 39.8 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.574e-05/0.1275, allocations: 31.84 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/0.1275, allocations: 7.938 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.1276, allocations: 43.98 kB / 472.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.297e-05/0.1277, allocations: 19.92 kB / 472.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.81e-05/0.1277, allocations: 39.72 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002201/0.1279, allocations: 115.9 kB / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.128, allocations: 0 / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.128, allocations: 0 / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.128, allocations: 0 / 472.5 MB, free: 11.07 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.00052/0.1285, allocations: 399 kB / 472.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.1286, allocations: 12.03 kB / 472.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.577e-05/0.1286, allocations: 46.67 kB / 473 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.576e-05/0.1286, allocations: 12.75 kB / 473 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/0.1289, allocations: 200.1 kB / 473.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.1289, allocations: 4.359 kB / 473.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.1289, allocations: 15.94 kB / 473.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.1291, allocations: 49.67 kB / 473.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.1291, allocations: 0 / 473.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.1291, allocations: 4 kB / 473.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1291, allocations: 0 / 473.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.503e-05/0.1292, allocations: 23.92 kB / 473.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003296/0.1295, allocations: 284.9 kB / 473.6 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.1297, allocations: 54.62 kB / 473.6 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.726e-05/0.1298, allocations: 24.84 kB / 473.7 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.1298, allocations: 0 / 473.7 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001861/0.13, allocations: 79.31 kB / 473.7 MB, free: 9.707 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.13, allocations: 0 / 473.7 MB, free: 9.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005208/0.1305, allocations: 169.2 kB / 473.9 MB, free: 9.535 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.1306, allocations: 51.41 kB / 473.9 MB, free: 9.473 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.1308, allocations: 194.1 kB / 474.1 MB, free: 9.273 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.1308, allocations: 25.7 kB / 474.2 MB, free: 9.242 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.232e-05/0.1309, allocations: 104.1 kB / 474.3 MB, free: 9.137 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.903e-05/0.1309, allocations: 23.7 kB / 474.3 MB, free: 9.113 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.045e-05/0.1309, allocations: 25.72 kB / 474.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.131, allocations: 322.8 kB / 474.6 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.758e-05/0.1311, allocations: 15.98 kB / 474.6 MB, free: 8.742 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.856e-05/0.1312, allocations: 45.64 kB / 474.7 MB, free: 8.691 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.1313, allocations: 65.7 kB / 474.7 MB, free: 8.621 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1313, allocations: 0 / 474.7 MB, free: 8.621 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001855/0.1315, allocations: 105.5 kB / 474.9 MB, free: 8.512 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.1315, allocations: 4 kB / 474.9 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1316, allocations: 0 / 474.9 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.1316, allocations: 0 / 474.9 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.671e-05/0.1317, allocations: 23.92 kB / 474.9 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1317, allocations: 0 / 474.9 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.763e-05/0.1317, allocations: 7.938 kB / 474.9 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.1318, allocations: 0 / 474.9 MB, free: 8.477 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.000125/0.1319, allocations: 133.9 kB / 475 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.411e-05/0.1319, allocations: 7.906 kB / 475 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.604e-05/0.132, allocations: 17.08 kB / 475 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.132, allocations: 0 / 475 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.132, allocations: 0 / 475 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.132, allocations: 7.938 kB / 475 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004327/0.1324, allocations: 395.3 kB / 475.4 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.1324, allocations: 0 / 475.4 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.826e-05/0.1325, allocations: 8 kB / 475.4 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.1325, allocations: 7.875 kB / 475.4 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.1325, allocations: 4 kB / 475.5 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.1325, allocations: 7.922 kB / 475.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.1325, allocations: 3.984 kB / 475.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002378/0.1328, allocations: 204.2 kB / 475.7 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.829e-05/0.1328, allocations: 85.02 kB / 475.7 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.481e-05/0.1329, allocations: 3.938 kB / 475.8 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.224e-05/0.1329, allocations: 4 kB / 475.8 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.709e-05/0.133, allocations: 11.98 kB / 475.8 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.133, allocations: 4 kB / 475.8 MB, free: 7.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001122/0.1331, allocations: 143.2 kB / 475.9 MB, free: 7.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1331, allocations: 0 / 475.9 MB, free: 7.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002674/0.1334, allocations: 24 kB / 475.9 MB, free: 7.316 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.001464/0.1349, allocations: 1.095 MB / 477 MB, free: 6.383 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002008/0.1351, allocations: 67.89 kB / 477.1 MB, free: 6.316 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1351, allocations: 0 / 477.1 MB, free: 6.316 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.407e-05/0.1352, allocations: 31.92 kB / 477.1 MB, free: 6.285 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.1355, allocations: 33.48 kB / 477.2 MB, free: 6.254 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001675/0.1372, allocations: 1.627 MB / 478.8 MB, free: 4.527 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.1375, allocations: 0.708 MB / 479.5 MB, free: 3.793 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.145e-05/0.1375, allocations: 8.891 kB / 479.5 MB, free: 3.785 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.004e-05/0.1376, allocations: 31.42 kB / 479.5 MB, free: 3.754 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1376, allocations: 0 / 479.5 MB, free: 3.754 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01981/0.1574, allocations: 3.299 MB / 482.8 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.614/7.771, allocations: 12.48 kB / 482.8 MB, free: 0.5312 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches