Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11",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.0007542/0.0007542, allocations: 96.94 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009561/0.0009561, allocations: 180.5 kB / 16.91 MB, free: 6.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.608/1.608, allocations: 205.4 MB / 223.1 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3809/0.3809, allocations: 43.57 MB / 315 MB, free: 8.797 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005035/0.0005032, allocations: 20 kB / 384.7 MB, free: 7.547 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1335, allocations: 58.87 MB / 443.6 MB, free: 12.58 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.002278/0.1358, allocations: 1.63 MB / 445.2 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001325/0.1372, allocations: 0.8002 MB / 446 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.243e-05/0.1373, allocations: 4 kB / 446 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003027/0.1376, allocations: 43.72 kB / 446 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001888/0.1378, allocations: 43.83 kB / 446.1 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002824/0.1381, allocations: 91.83 kB / 446.2 MB, free: 9.945 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001995/0.1383, allocations: 135.5 kB / 446.3 MB, free: 9.812 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.1384, allocations: 29.69 kB / 446.3 MB, free: 9.781 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.428e-05/0.1385, allocations: 43.73 kB / 446.4 MB, free: 9.738 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.717e-05/0.1386, allocations: 51.7 kB / 446.4 MB, free: 9.688 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.1387, allocations: 0 / 446.4 MB, free: 9.688 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.931e-05/0.1388, allocations: 43.98 kB / 446.5 MB, free: 9.645 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.457e-05/0.1389, allocations: 23.86 kB / 446.5 MB, free: 9.621 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.139, allocations: 77.3 kB / 446.6 MB, free: 9.539 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002558/0.1392, allocations: 131.6 kB / 446.7 MB, free: 9.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.004e-05/0.1392, allocations: 7.984 kB / 446.7 MB, free: 9.402 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.564e-06/0.1393, allocations: 0 / 446.7 MB, free: 9.402 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.1393, allocations: 0 / 446.7 MB, free: 9.402 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000804/0.1401, allocations: 452.6 kB / 447.1 MB, free: 8.906 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.176e-05/0.1402, allocations: 12.03 kB / 447.2 MB, free: 8.895 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.861e-05/0.1402, allocations: 38.73 kB / 447.2 MB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.508e-05/0.1403, allocations: 16.75 kB / 447.2 MB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003306/0.1406, allocations: 224.8 kB / 447.4 MB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.1407, allocations: 8.375 kB / 447.4 MB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.1407, allocations: 7.938 kB / 447.4 MB, free: 8.559 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002686/0.141, allocations: 116.2 kB / 447.6 MB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.141, allocations: 0 / 447.6 MB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.141, allocations: 0 / 447.6 MB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.141, allocations: 4 kB / 447.6 MB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001692/0.1412, allocations: 47.97 kB / 447.6 MB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007112/0.1419, allocations: 0.5086 MB / 448.1 MB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000365/0.1423, allocations: 98.59 kB / 448.2 MB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.1424, allocations: 36.84 kB / 448.2 MB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.024e-05/0.1424, allocations: 4 kB / 448.3 MB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002697/0.1427, allocations: 87.38 kB / 448.3 MB, free: 7.566 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.333e-06/0.1427, allocations: 4 kB / 448.3 MB, free: 7.562 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004292/0.1432, allocations: 149.3 kB / 448.5 MB, free: 7.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.1432, allocations: 59.39 kB / 448.5 MB, free: 7.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002192/0.1435, allocations: 191.5 kB / 448.7 MB, free: 7.141 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.1435, allocations: 25.7 kB / 448.8 MB, free: 7.109 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.1436, allocations: 123.9 kB / 448.9 MB, free: 6.984 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.374e-05/0.1436, allocations: 31.62 kB / 448.9 MB, free: 6.953 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.441e-05/0.1437, allocations: 17.72 kB / 448.9 MB, free: 6.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.1438, allocations: 322.8 kB / 449.2 MB, free: 6.605 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.363e-05/0.1439, allocations: 35.92 kB / 449.3 MB, free: 6.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.1441, allocations: 68.27 kB / 449.3 MB, free: 6.488 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000199/0.1443, allocations: 96.2 kB / 449.4 MB, free: 6.379 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1443, allocations: 0 / 449.4 MB, free: 6.379 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002707/0.1446, allocations: 145.3 kB / 449.6 MB, free: 6.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.1446, allocations: 4 kB / 449.6 MB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1446, allocations: 4 kB / 449.6 MB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.1446, allocations: 7.922 kB / 449.6 MB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.966e-05/0.1447, allocations: 27.92 kB / 449.6 MB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.1447, allocations: 128 / 449.6 MB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.777e-05/0.1448, allocations: 19.91 kB / 449.6 MB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.1448, allocations: 4 kB / 449.6 MB, free: 6.164 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001149/0.1449, allocations: 125.8 kB / 449.8 MB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.124e-05/0.145, allocations: 12.38 kB / 449.8 MB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.584e-05/0.145, allocations: 13.41 kB / 449.8 MB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.145, allocations: 3.938 kB / 449.8 MB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.145, allocations: 0 / 449.8 MB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.1451, allocations: 7.984 kB / 449.8 MB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001881/0.1453, allocations: 225.3 kB / 450 MB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1453, allocations: 0 / 450 MB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.171e-05/0.1453, allocations: 8 kB / 450 MB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.1454, allocations: 0 / 450 MB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.1454, allocations: 7.938 kB / 450 MB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.1454, allocations: 3.938 kB / 450 MB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1454, allocations: 0 / 450 MB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003739/0.1458, allocations: 188.9 kB / 450.2 MB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.019e-05/0.1458, allocations: 88.95 kB / 450.3 MB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.1459, allocations: 7.984 kB / 450.3 MB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.761e-05/0.1459, allocations: 11.94 kB / 450.3 MB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.735e-05/0.146, allocations: 7.984 kB / 450.3 MB, free: 5.371 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.322e-05/0.1461, allocations: 4 kB / 450.3 MB, free: 5.367 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001084/0.1462, allocations: 141.3 kB / 450.5 MB, free: 5.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1462, allocations: 4 kB / 450.5 MB, free: 5.227 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002272/0.1464, allocations: 24.12 kB / 450.5 MB, free: 5.203 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001716/0.1481, allocations: 1.044 MB / 451.6 MB, free: 4.172 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002715/0.1484, allocations: 79.91 kB / 451.6 MB, free: 4.094 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.1484, allocations: 0 / 451.6 MB, free: 4.094 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.1486, allocations: 40.17 kB / 451.7 MB, free: 4.055 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.1489, allocations: 40.28 kB / 451.7 MB, free: 4.016 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002202/0.1511, allocations: 1.785 MB / 453.5 MB, free: 2.125 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004275/0.1516, allocations: 0.7123 MB / 454.2 MB, free: 1.387 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.73e-05/0.1517, allocations: 21.41 kB / 454.2 MB, free: 1.363 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.845e-05/0.1518, allocations: 47.42 kB / 454.3 MB, free: 1.316 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1518, allocations: 0 / 454.3 MB, free: 1.316 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2075/0.3593, allocations: 3.274 MB / 457.5 MB, free: 44.99 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001475/0.3595, allocations: 236.9 kB / 457.8 MB, free: 44.74 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.01/2.369, allocations: 1.125 kB / 457.8 MB, free: 44.74 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches