Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15",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.001057/0.001057, allocations: 108.8 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.001132/0.001132, 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.406/1.406, allocations: 222.9 MB / 241.8 MB, free: 15.57 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.2268/0.2268, allocations: 44.16 MB / 336.1 MB, free: 3.035 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 64.41 kB / 407.8 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1364, allocations: 60.83 MB / 468.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.004545/0.141, allocations: 1.748 MB / 470.4 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001677/0.1427, allocations: 0.8653 MB / 471.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.1428, allocations: 0 / 471.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003954/0.1433, allocations: 35.83 kB / 471.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002937/0.1436, allocations: 47.83 kB / 471.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000413/0.144, allocations: 91.83 kB / 471.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002057/0.1443, allocations: 91.69 kB / 471.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.1444, allocations: 16.22 kB / 471.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.1445, allocations: 35.73 kB / 471.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.1446, allocations: 35.83 kB / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.353e-05/0.1447, allocations: 4 kB / 471.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001422/0.1448, allocations: 39.98 kB / 471.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.136e-05/0.1449, allocations: 19.92 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.94e-05/0.145, allocations: 27.75 kB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002508/0.1452, allocations: 111.9 kB / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1453, allocations: 0 / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1453, allocations: 0 / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.1453, allocations: 0 / 471.8 MB, free: 11.57 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.0006487/0.1459, allocations: 411 kB / 472.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.146, allocations: 8.031 kB / 472.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.101e-05/0.146, allocations: 38.73 kB / 472.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.579e-05/0.1461, allocations: 16.84 kB / 472.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002616/0.1464, allocations: 211.7 kB / 472.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.1464, allocations: 4.375 kB / 472.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.1464, allocations: 3.938 kB / 472.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.1466, allocations: 57.61 kB / 472.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.1466, allocations: 0 / 472.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.1466, allocations: 0 / 472.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.1466, allocations: 4 kB / 472.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.862e-05/0.1467, allocations: 15.98 kB / 472.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003937/0.1471, allocations: 284.9 kB / 472.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001972/0.1473, allocations: 58.62 kB / 472.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.079e-05/0.1474, allocations: 20.84 kB / 472.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.1474, allocations: 7.938 kB / 472.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002262/0.1477, allocations: 71.3 kB / 473 MB, free: 10.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.1477, allocations: 0 / 473 MB, free: 10.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006015/0.1483, allocations: 165.3 kB / 473.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.1483, allocations: 51.41 kB / 473.2 MB, free: 9.977 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001865/0.1485, allocations: 174.2 kB / 473.4 MB, free: 9.797 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.1486, allocations: 29.7 kB / 473.4 MB, free: 9.762 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.959e-05/0.1486, allocations: 108 kB / 473.5 MB, free: 9.652 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.162e-05/0.1487, allocations: 27.64 kB / 473.5 MB, free: 9.625 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.453e-05/0.1487, allocations: 25.72 kB / 473.6 MB, free: 9.594 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.1489, allocations: 322.8 kB / 473.9 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.422e-05/0.1489, allocations: 19.98 kB / 473.9 MB, free: 9.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.808e-05/0.149, allocations: 41.64 kB / 473.9 MB, free: 9.203 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.1491, allocations: 49.72 kB / 474 MB, free: 9.148 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.1491, allocations: 4 kB / 474 MB, free: 9.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001986/0.1493, allocations: 109.4 kB / 474.1 MB, free: 9.031 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.1494, allocations: 6.5 kB / 474.1 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1494, allocations: 0 / 474.1 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.1494, allocations: 0 / 474.1 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.446e-05/0.1495, allocations: 16 kB / 474.1 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-06/0.1495, allocations: 3.984 kB / 474.1 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.214e-05/0.1496, allocations: 8.312 kB / 474.1 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.1496, allocations: 0 / 474.1 MB, free: 9 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.0001099/0.1497, allocations: 129.8 kB / 474.3 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/0.1497, allocations: 7.906 kB / 474.3 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.761e-05/0.1498, allocations: 20.7 kB / 474.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1498, allocations: 4 kB / 474.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1498, allocations: 0 / 474.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.1498, allocations: 3.938 kB / 474.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005356/0.1504, allocations: 387.3 kB / 474.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-06/0.1504, allocations: 12.02 kB / 474.7 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.431e-05/0.1504, allocations: 4 kB / 474.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-06/0.1504, allocations: 11.92 kB / 474.7 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.1505, allocations: 0 / 474.7 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.1505, allocations: 0 / 474.7 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.1505, allocations: 4 kB / 474.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002544/0.1507, allocations: 204.3 kB / 474.9 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.968e-05/0.1508, allocations: 89.02 kB / 475 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/0.1508, allocations: 11.88 kB / 475 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.313e-05/0.1509, allocations: 3.984 kB / 475 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.058e-05/0.151, allocations: 8 kB / 475 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.151, allocations: 4 kB / 475 MB, free: 8.004 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000131/0.1511, allocations: 136.9 kB / 475.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1511, allocations: 3.938 kB / 475.1 MB, free: 7.867 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002774/0.1514, allocations: 24 kB / 475.2 MB, free: 7.844 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.001547/0.153, allocations: 1.103 MB / 476.3 MB, free: 6.898 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001807/0.1532, allocations: 47.98 kB / 476.3 MB, free: 6.852 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1532, allocations: 0 / 476.3 MB, free: 6.852 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.852e-05/0.1533, allocations: 35.92 kB / 476.4 MB, free: 6.816 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003534/0.1536, allocations: 19.98 kB / 476.4 MB, free: 6.797 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00194/0.1556, allocations: 1.624 MB / 478 MB, free: 5.074 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004015/0.156, allocations: 0.7079 MB / 478.7 MB, free: 4.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.543e-05/0.1561, allocations: 21.17 kB / 478.7 MB, free: 4.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.266e-05/0.1562, allocations: 31.42 kB / 478.8 MB, free: 4.293 MB / 350.1 MB Notification: Performance of SimCode: time 7.82e-07/0.1562, allocations: 0 / 478.8 MB, free: 4.293 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01427/0.1705, allocations: 3.077 MB / 481.8 MB, free: 1.324 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001969/0.1707, allocations: 234.5 kB / 482.1 MB, free: 1.07 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.013/2.183, allocations: 0 / 482.1 MB, free: 1.07 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches