Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29",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.001262/0.001262, allocations: 109.4 kB / 17.21 MB, free: 6.27 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.001191/0.001191, allocations: 194 kB / 18.12 MB, free: 5.363 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.399/1.399, allocations: 222.9 MB / 241.8 MB, free: 13.82 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.2199/0.2199, allocations: 44.17 MB / 336.1 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 65.42 kB / 407.8 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1375, allocations: 60.83 MB / 468.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.004524/0.1421, allocations: 1.748 MB / 470.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001745/0.1439, allocations: 0.8614 MB / 471.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.144, allocations: 0 / 471.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003592/0.1444, allocations: 43.83 kB / 471.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002427/0.1447, allocations: 39.84 kB / 471.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004251/0.1451, allocations: 87.83 kB / 471.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002096/0.1453, allocations: 99.67 kB / 471.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.1455, allocations: 12.22 kB / 471.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.1456, allocations: 39.73 kB / 471.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.395e-05/0.1457, allocations: 31.84 kB / 471.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.1457, allocations: 0 / 471.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000146/0.1459, allocations: 39.98 kB / 471.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.505e-05/0.146, allocations: 19.92 kB / 471.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.425e-05/0.146, allocations: 39.72 kB / 471.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002485/0.1463, allocations: 107.9 kB / 471.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.1463, allocations: 0 / 471.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1463, allocations: 7.938 kB / 471.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.1463, allocations: 0 / 471.8 MB, free: 11.52 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.000617/0.1469, allocations: 417.6 kB / 472.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.147, allocations: 12.03 kB / 472.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.306e-05/0.1471, allocations: 34.69 kB / 472.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.198e-05/0.1471, allocations: 12.75 kB / 472.3 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.1474, allocations: 208.1 kB / 472.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.1474, allocations: 4.312 kB / 472.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/0.1474, allocations: 7.938 kB / 472.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.1476, allocations: 61.61 kB / 472.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.1476, allocations: 0 / 472.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.1476, allocations: 0 / 472.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1476, allocations: 0 / 472.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.471e-05/0.1477, allocations: 19.98 kB / 472.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000445/0.1482, allocations: 280.9 kB / 472.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.1484, allocations: 66.61 kB / 472.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.544e-05/0.1484, allocations: 16.86 kB / 472.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.1485, allocations: 4 kB / 472.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002439/0.1487, allocations: 63.39 kB / 473 MB, free: 10.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.1487, allocations: 0 / 473 MB, free: 10.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006305/0.1494, allocations: 177.2 kB / 473.2 MB, free: 9.984 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/0.1494, allocations: 51.41 kB / 473.2 MB, free: 9.922 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.1496, allocations: 194.1 kB / 473.4 MB, free: 9.723 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.1497, allocations: 25.7 kB / 473.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.51e-05/0.1498, allocations: 108.1 kB / 473.5 MB, free: 9.582 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.827e-05/0.1498, allocations: 19.72 kB / 473.6 MB, free: 9.562 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.745e-05/0.1499, allocations: 25.7 kB / 473.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.15, allocations: 322.8 kB / 473.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.499e-05/0.1501, allocations: 24 kB / 473.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.217e-05/0.1502, allocations: 37.64 kB / 474 MB, free: 9.141 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.1503, allocations: 57.77 kB / 474 MB, free: 9.078 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1503, allocations: 384 / 474 MB, free: 9.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001975/0.1505, allocations: 109.4 kB / 474.1 MB, free: 8.965 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.009e-05/0.1506, allocations: 4 kB / 474.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.1506, allocations: 8.016 kB / 474.1 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.1506, allocations: 4 kB / 474.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.1507, allocations: 16 kB / 474.1 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.1507, allocations: 0 / 474.1 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.045e-05/0.1508, allocations: 7.938 kB / 474.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.1508, allocations: 4 kB / 474.2 MB, free: 8.922 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.0001145/0.1509, allocations: 130 kB / 474.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.377e-05/0.151, allocations: 7.906 kB / 474.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.182e-05/0.151, allocations: 24.64 kB / 474.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.151, allocations: 3.938 kB / 474.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.151, allocations: 4 kB / 474.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.1511, allocations: 7.922 kB / 474.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000481/0.1515, allocations: 383.3 kB / 474.7 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.1516, allocations: 0 / 474.7 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.205e-05/0.1516, allocations: 8 kB / 474.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.1516, allocations: 3.938 kB / 474.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.1516, allocations: 12.02 kB / 474.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1516, allocations: 0 / 474.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.1516, allocations: 0 / 474.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002578/0.1519, allocations: 204.2 kB / 474.9 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.955e-05/0.152, allocations: 88.95 kB / 475 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.778e-05/0.152, allocations: 7.938 kB / 475 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.843e-05/0.1521, allocations: 4 kB / 475 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.762e-05/0.1521, allocations: 11.98 kB / 475 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.1522, allocations: 4 kB / 475 MB, free: 7.926 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001261/0.1523, allocations: 143.2 kB / 475.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1523, allocations: 0 / 475.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000263/0.1526, allocations: 24 kB / 475.2 MB, free: 7.762 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.001771/0.1543, allocations: 1.107 MB / 476.3 MB, free: 6.816 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002011/0.1546, allocations: 51.98 kB / 476.4 MB, free: 6.766 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1546, allocations: 4.062 kB / 476.4 MB, free: 6.762 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.73e-05/0.1546, allocations: 35.91 kB / 476.4 MB, free: 6.727 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000368/0.155, allocations: 29.75 kB / 476.4 MB, free: 6.699 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001823/0.1569, allocations: 1.644 MB / 478.1 MB, free: 4.957 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.1571, allocations: 0.7043 MB / 478.8 MB, free: 4.227 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.161e-05/0.1572, allocations: 21.2 kB / 478.8 MB, free: 4.207 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.809e-05/0.1573, allocations: 31.42 kB / 478.8 MB, free: 4.176 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1573, allocations: 0 / 478.8 MB, free: 4.176 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01593/0.1732, allocations: 3.139 MB / 482 MB, free: 1.145 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003432/0.1736, allocations: 236.5 kB / 482.2 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.056/2.23, allocations: 0 / 482.2 MB, free: 0.8906 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches