Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49",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.001086/0.001086, allocations: 111 kB / 17.33 MB, free: 6.004 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.001018/0.001018, allocations: 193.3 kB / 18.25 MB, free: 5.094 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.454/1.454, allocations: 222.9 MB / 241.9 MB, free: 15.45 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.2384/0.2384, allocations: 44.18 MB / 336.2 MB, free: 2.957 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 68.59 kB / 408 MB, free: 27.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1476, allocations: 60.82 MB / 468.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003595/0.1512, allocations: 1.761 MB / 470.6 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001585/0.1529, allocations: 0.8653 MB / 471.5 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.401e-05/0.153, allocations: 4 kB / 471.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002942/0.1533, allocations: 43.81 kB / 471.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002333/0.1536, allocations: 55.83 kB / 471.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003369/0.1539, allocations: 94.33 kB / 471.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001936/0.1541, allocations: 99.69 kB / 471.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.555e-05/0.1542, allocations: 16.22 kB / 471.8 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.235e-05/0.1543, allocations: 39.73 kB / 471.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.146e-05/0.1544, allocations: 35.84 kB / 471.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.1544, allocations: 4 kB / 471.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.1546, allocations: 47.98 kB / 471.9 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.568e-05/0.1546, allocations: 27.91 kB / 471.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.58e-05/0.1547, allocations: 43.61 kB / 472 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002241/0.1549, allocations: 131.8 kB / 472.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.1549, allocations: 4 kB / 472.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1549, allocations: 0 / 472.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.1549, allocations: 0 / 472.1 MB, free: 11.36 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.0005583/0.1555, allocations: 434.7 kB / 472.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.1556, allocations: 8.031 kB / 472.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.843e-05/0.1556, allocations: 38.75 kB / 472.6 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.985e-05/0.1557, allocations: 20.73 kB / 472.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.1559, allocations: 208 kB / 472.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.156, allocations: 4.375 kB / 472.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.156, allocations: 19.8 kB / 472.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.1561, allocations: 49.67 kB / 472.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.1562, allocations: 0 / 472.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.1562, allocations: 8 kB / 472.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.1562, allocations: 0 / 472.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.028e-05/0.1563, allocations: 15.98 kB / 472.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003532/0.1566, allocations: 296.9 kB / 473.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.1568, allocations: 58.61 kB / 473.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.113e-05/0.1569, allocations: 16.86 kB / 473.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.1569, allocations: 3.984 kB / 473.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002096/0.1571, allocations: 71.39 kB / 473.3 MB, free: 9.957 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.813e-06/0.1571, allocations: 0 / 473.3 MB, free: 9.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005458/0.1577, allocations: 185 kB / 473.5 MB, free: 9.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.1577, allocations: 59.39 kB / 473.6 MB, free: 9.699 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.158, allocations: 262.9 kB / 473.8 MB, free: 9.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.158, allocations: 29.69 kB / 473.8 MB, free: 9.395 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.177e-05/0.1581, allocations: 116.1 kB / 474 MB, free: 9.277 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.996e-05/0.1581, allocations: 23.7 kB / 474 MB, free: 9.254 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.804e-05/0.1582, allocations: 25.72 kB / 474 MB, free: 9.223 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1583, allocations: 326.8 kB / 474.3 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.966e-05/0.1583, allocations: 19.94 kB / 474.3 MB, free: 8.875 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.326e-05/0.1584, allocations: 41.64 kB / 474.4 MB, free: 8.828 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001153/0.1585, allocations: 61.7 kB / 474.4 MB, free: 8.762 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1585, allocations: 384 / 474.4 MB, free: 8.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001874/0.1587, allocations: 105.4 kB / 474.5 MB, free: 8.652 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.1588, allocations: 6.5 kB / 474.6 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.1588, allocations: 4 kB / 474.6 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.1588, allocations: 0 / 474.6 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.413e-05/0.1589, allocations: 16 kB / 474.6 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.1589, allocations: 0 / 474.6 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.061e-05/0.159, allocations: 15.86 kB / 474.6 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.159, allocations: 12.03 kB / 474.6 MB, free: 8.602 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.0001123/0.1591, allocations: 140.4 kB / 474.7 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.538e-05/0.1591, allocations: 11.81 kB / 474.7 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.635e-05/0.1592, allocations: 17.41 kB / 474.8 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.1592, allocations: 3.984 kB / 474.8 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1592, allocations: 192 / 474.8 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.1592, allocations: 11.92 kB / 474.8 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004386/0.1596, allocations: 403.3 kB / 475.2 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1597, allocations: 0 / 475.2 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.657e-05/0.1597, allocations: 11.98 kB / 475.2 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.1597, allocations: 3.938 kB / 475.2 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.1597, allocations: 4 kB / 475.2 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.1597, allocations: 4 kB / 475.2 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1597, allocations: 0 / 475.2 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002612/0.16, allocations: 208.4 kB / 475.4 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.119e-05/0.1601, allocations: 92.92 kB / 475.5 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.053e-05/0.1601, allocations: 11.92 kB / 475.5 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.063e-05/0.1602, allocations: 0 / 475.5 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.143e-05/0.1602, allocations: 7.984 kB / 475.5 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/0.1602, allocations: 11.98 kB / 475.5 MB, free: 7.574 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001615/0.1604, allocations: 196.2 kB / 475.7 MB, free: 7.383 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1604, allocations: 0 / 475.7 MB, free: 7.383 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002666/0.1607, allocations: 20 kB / 475.7 MB, free: 7.363 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.00146/0.1622, allocations: 1.106 MB / 476.8 MB, free: 6.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001784/0.1623, allocations: 55.92 kB / 476.9 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.1624, allocations: 0 / 476.9 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.191e-05/0.1624, allocations: 31.98 kB / 476.9 MB, free: 6.324 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.1628, allocations: 31.97 kB / 477 MB, free: 6.293 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002062/0.1649, allocations: 1.833 MB / 478.8 MB, free: 4.363 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.1652, allocations: 0.7158 MB / 479.5 MB, free: 3.621 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.841e-05/0.1653, allocations: 13.19 kB / 479.5 MB, free: 3.609 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.425e-05/0.1654, allocations: 43.41 kB / 479.6 MB, free: 3.566 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1654, allocations: 0 / 479.6 MB, free: 3.566 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01435/0.1797, allocations: 3.532 MB / 483.1 MB, free: 152 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003712/0.1801, allocations: 242.1 kB / 483.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.829/2.009, allocations: 3.938 kB / 483.3 MB, free: 15.88 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches