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.001388/0.001388, allocations: 96.14 kB / 15.87 MB, free: 16 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.001485/0.001485, allocations: 202.2 kB / 16.79 MB, free: 6.84 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.502/1.502, allocations: 205.1 MB / 222.6 MB, free: 4.992 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.3867/0.3867, allocations: 43.49 MB / 313.5 MB, free: 8.629 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.001611/0.001611, allocations: 70.56 kB / 382.1 MB, free: 8.926 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1252, allocations: 57.78 MB / 439.9 MB, free: 15.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003936/0.1292, allocations: 1.976 MB / 441.9 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001768/0.131, allocations: 0.8157 MB / 442.7 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001962/0.1313, allocations: 4 kB / 442.7 MB, free: 12.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004831/0.1318, allocations: 39.83 kB / 442.8 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003377/0.1322, allocations: 43.77 kB / 442.8 MB, free: 12.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003909/0.1326, allocations: 95.83 kB / 442.9 MB, free: 12.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002515/0.1328, allocations: 127.6 kB / 443 MB, free: 11.92 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.133, allocations: 41.62 kB / 443.1 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.1331, allocations: 51.72 kB / 443.1 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.1332, allocations: 47.7 kB / 443.2 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.47e-05/0.1333, allocations: 4 kB / 443.2 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000132/0.1334, allocations: 43.98 kB / 443.2 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.759e-05/0.1335, allocations: 19.92 kB / 443.2 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.569e-05/0.1336, allocations: 59.55 kB / 443.3 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002367/0.1338, allocations: 139.6 kB / 443.4 MB, free: 11.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1338, allocations: 0 / 443.4 MB, free: 11.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.1338, allocations: 0 / 443.4 MB, free: 11.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.1338, allocations: 0 / 443.4 MB, free: 11.52 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.0007442/0.1346, allocations: 476.5 kB / 443.9 MB, free: 11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.1346, allocations: 8.031 kB / 443.9 MB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.553e-05/0.1347, allocations: 38.75 kB / 443.9 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.806e-05/0.1348, allocations: 20.69 kB / 443.9 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002749/0.135, allocations: 228.8 kB / 444.2 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.1351, allocations: 4.375 kB / 444.2 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.776e-05/0.1351, allocations: 11.94 kB / 444.2 MB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002392/0.1353, allocations: 104.2 kB / 444.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.1354, allocations: 0 / 444.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.1354, allocations: 0 / 444.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.1354, allocations: 4 kB / 444.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001648/0.1356, allocations: 59.84 kB / 444.4 MB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005999/0.1362, allocations: 0.5125 MB / 444.9 MB, free: 9.898 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003181/0.1365, allocations: 90.67 kB / 445 MB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.777e-05/0.1366, allocations: 40.81 kB / 445 MB, free: 9.758 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.1366, allocations: 4 kB / 445 MB, free: 9.754 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002715/0.1369, allocations: 87.31 kB / 445.1 MB, free: 9.656 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.1369, allocations: 0 / 445.1 MB, free: 9.656 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004045/0.1373, allocations: 141.4 kB / 445.2 MB, free: 9.512 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.1374, allocations: 51.41 kB / 445.3 MB, free: 9.449 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/0.1376, allocations: 195.4 kB / 445.5 MB, free: 9.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.1376, allocations: 25.7 kB / 445.5 MB, free: 9.219 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.181e-05/0.1377, allocations: 116 kB / 445.6 MB, free: 9.102 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.947e-05/0.1378, allocations: 35.62 kB / 445.6 MB, free: 9.066 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.053e-05/0.1378, allocations: 29.7 kB / 445.7 MB, free: 9.031 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.138, allocations: 326.8 kB / 446 MB, free: 8.703 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.666e-05/0.1381, allocations: 23.98 kB / 446 MB, free: 8.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.853e-05/0.1382, allocations: 68.2 kB / 446.1 MB, free: 8.598 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000177/0.1383, allocations: 96.53 kB / 446.2 MB, free: 8.488 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/0.1384, allocations: 4 kB / 446.2 MB, free: 8.484 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002548/0.1386, allocations: 141.4 kB / 446.3 MB, free: 8.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.1386, allocations: 4 kB / 446.3 MB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.1387, allocations: 0 / 446.3 MB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.1387, allocations: 7.938 kB / 446.3 MB, free: 8.328 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.107e-05/0.1388, allocations: 19.98 kB / 446.3 MB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.1388, allocations: 7.938 kB / 446.3 MB, free: 8.301 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.075e-05/0.1389, allocations: 15.89 kB / 446.4 MB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.238e-06/0.1389, allocations: 4 kB / 446.4 MB, free: 8.281 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 9.98e-05/0.139, allocations: 129.8 kB / 446.5 MB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.139, allocations: 19.81 kB / 446.5 MB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.424e-05/0.1391, allocations: 17.39 kB / 446.5 MB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.1391, allocations: 3.938 kB / 446.5 MB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.1391, allocations: 4 kB / 446.5 MB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1391, allocations: 0 / 446.5 MB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001578/0.1393, allocations: 209.5 kB / 446.7 MB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.1393, allocations: 0 / 446.7 MB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.293e-05/0.1393, allocations: 15.92 kB / 446.8 MB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1393, allocations: 3.938 kB / 446.8 MB, free: 7.824 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.1394, allocations: 4 kB / 446.8 MB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.1394, allocations: 11.92 kB / 446.8 MB, free: 7.809 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1394, allocations: 0 / 446.8 MB, free: 7.809 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003571/0.1397, allocations: 181 kB / 447 MB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.243e-05/0.1398, allocations: 89.03 kB / 447 MB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.268e-05/0.1398, allocations: 3.938 kB / 447 MB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.041e-05/0.1399, allocations: 11.94 kB / 447.1 MB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.142e-05/0.1399, allocations: 16.05 kB / 447.1 MB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.14, allocations: 4 kB / 447.1 MB, free: 7.473 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000107/0.1401, allocations: 137.2 kB / 447.2 MB, free: 7.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1401, allocations: 0 / 447.2 MB, free: 7.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002204/0.1403, allocations: 32.03 kB / 447.2 MB, free: 7.309 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.001397/0.1417, allocations: 1.021 MB / 448.3 MB, free: 6.301 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002386/0.142, allocations: 83.83 kB / 448.3 MB, free: 6.219 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.142, allocations: 0 / 448.3 MB, free: 6.219 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.428e-05/0.1421, allocations: 31.98 kB / 448.4 MB, free: 6.188 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002922/0.1424, allocations: 47.95 kB / 448.4 MB, free: 6.141 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001801/0.1442, allocations: 1.757 MB / 450.2 MB, free: 4.281 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.1444, allocations: 0.72 MB / 450.9 MB, free: 3.535 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.646e-05/0.1445, allocations: 21.41 kB / 450.9 MB, free: 3.512 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.487e-05/0.1446, allocations: 39.42 kB / 451 MB, free: 3.473 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1446, allocations: 0 / 451 MB, free: 3.473 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2123/0.3569, allocations: 3.471 MB / 454.4 MB, free: 49.21 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001795/0.3571, allocations: 233.2 kB / 454.7 MB, free: 48.96 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.701/2.058, allocations: 2.531 kB / 454.7 MB, free: 48.96 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