Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56",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.001199/0.001199, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.00167/0.00167, allocations: 192 kB / 18.55 MB, free: 4.566 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.439/1.439, allocations: 222.9 MB / 242.3 MB, free: 15.18 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.2486/0.2486, allocations: 44.18 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 60.03 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1287, allocations: 60.83 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003903/0.1327, allocations: 1.707 MB / 471.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002333/0.135, allocations: 1.475 MB / 472.6 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.1352, allocations: 3.938 kB / 472.6 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003584/0.1356, allocations: 35.83 kB / 472.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003285/0.1359, allocations: 63.69 kB / 472.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004291/0.1364, allocations: 119.1 kB / 472.8 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002276/0.1366, allocations: 91.7 kB / 472.9 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.1368, allocations: 12.22 kB / 472.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.1369, allocations: 43.78 kB / 472.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002087/0.1371, allocations: 35.84 kB / 472.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.635e-05/0.1371, allocations: 4 kB / 473 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001943/0.1373, allocations: 63.91 kB / 473 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.586e-05/0.1374, allocations: 19.92 kB / 473 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.423e-05/0.1375, allocations: 39.73 kB / 473.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003412/0.1379, allocations: 120 kB / 473.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.1379, allocations: 0 / 473.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1379, allocations: 3.938 kB / 473.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.1379, allocations: 0 / 473.2 MB, free: 10.42 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.0007933/0.1387, allocations: 395.2 kB / 473.6 MB, free: 9.988 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.872e-05/0.1388, allocations: 12.02 kB / 473.6 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.253e-05/0.1388, allocations: 38.75 kB / 473.6 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.569e-05/0.1389, allocations: 8.844 kB / 473.6 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003228/0.1393, allocations: 204.1 kB / 473.8 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.1393, allocations: 8.312 kB / 473.8 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.697e-05/0.1393, allocations: 7.938 kB / 473.9 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000215/0.1395, allocations: 67.39 kB / 473.9 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.1396, allocations: 0 / 473.9 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.1396, allocations: 0 / 473.9 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.1396, allocations: 0 / 473.9 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.585e-05/0.1397, allocations: 19.98 kB / 473.9 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004456/0.1402, allocations: 288.9 kB / 474.2 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001797/0.1404, allocations: 58.61 kB / 474.3 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.863e-05/0.1404, allocations: 20.86 kB / 474.3 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.1405, allocations: 3.938 kB / 474.3 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002253/0.1407, allocations: 71.38 kB / 474.4 MB, free: 9.062 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.884e-06/0.1407, allocations: 0 / 474.4 MB, free: 9.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005862/0.1413, allocations: 169.3 kB / 474.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.1414, allocations: 81.11 kB / 474.6 MB, free: 8.793 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/0.1416, allocations: 156.3 kB / 474.8 MB, free: 8.633 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.1416, allocations: 29.7 kB / 474.8 MB, free: 8.598 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.496e-05/0.1416, allocations: 96.12 kB / 474.9 MB, free: 8.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.1e-05/0.1417, allocations: 27.59 kB / 474.9 MB, free: 8.473 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.447e-05/0.1417, allocations: 29.7 kB / 474.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.1419, allocations: 318.8 kB / 475.3 MB, free: 8.117 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.999e-05/0.1419, allocations: 20.17 kB / 475.3 MB, free: 8.098 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.183e-05/0.142, allocations: 42.56 kB / 475.3 MB, free: 8.047 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/0.1421, allocations: 69.72 kB / 475.4 MB, free: 7.973 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1422, allocations: 192 / 475.4 MB, free: 7.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002053/0.1424, allocations: 93.53 kB / 475.5 MB, free: 7.875 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.1424, allocations: 7.938 kB / 475.5 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.1424, allocations: 4 kB / 475.5 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.1424, allocations: 3.984 kB / 475.5 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.1425, allocations: 19.94 kB / 475.5 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.1426, allocations: 0 / 475.5 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.678e-05/0.1426, allocations: 7.938 kB / 475.5 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.1426, allocations: 4 kB / 475.5 MB, free: 7.828 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.0001091/0.1428, allocations: 125.8 kB / 475.7 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.866e-05/0.1428, allocations: 11.91 kB / 475.7 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.996e-05/0.1428, allocations: 8.719 kB / 475.7 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.616e-05/0.1429, allocations: 4 kB / 475.7 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.1429, allocations: 0 / 475.7 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.1429, allocations: 7.922 kB / 475.7 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000477/0.1434, allocations: 391.3 kB / 476.1 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1434, allocations: 0 / 476.1 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.59e-05/0.1434, allocations: 8 kB / 476.1 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.1434, allocations: 3.938 kB / 476.1 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.1435, allocations: 7.984 kB / 476.1 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.1435, allocations: 4 kB / 476.1 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.1435, allocations: 0 / 476.1 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002722/0.1438, allocations: 208.1 kB / 476.3 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.375e-05/0.1438, allocations: 81.02 kB / 476.4 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.046e-05/0.1439, allocations: 11.94 kB / 476.4 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.219e-05/0.1439, allocations: 0 / 476.4 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.964e-05/0.144, allocations: 7.984 kB / 476.4 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/0.144, allocations: 4 kB / 476.4 MB, free: 6.852 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001094/0.1441, allocations: 115.2 kB / 476.5 MB, free: 6.738 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1441, allocations: 0 / 476.5 MB, free: 6.738 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002812/0.1444, allocations: 39.98 kB / 476.5 MB, free: 6.699 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.001597/0.146, allocations: 1.129 MB / 477.7 MB, free: 5.746 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002096/0.1462, allocations: 67.84 kB / 477.7 MB, free: 5.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1463, allocations: 0 / 477.7 MB, free: 5.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.258e-05/0.1463, allocations: 28.05 kB / 477.8 MB, free: 5.652 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.1467, allocations: 27.98 kB / 477.8 MB, free: 5.625 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00177/0.1485, allocations: 1.551 MB / 479.3 MB, free: 3.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.1488, allocations: 0.6973 MB / 480 MB, free: 3.258 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.558e-05/0.1489, allocations: 24.84 kB / 480.1 MB, free: 3.234 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.149, allocations: 39.3 kB / 480.1 MB, free: 3.195 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.149, allocations: 4 kB / 480.1 MB, free: 3.191 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0242/0.1732, allocations: 3.456 MB / 483.6 MB, free: 15.81 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.752/7.926, allocations: 7.984 kB / 483.6 MB, free: 15.8 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches