Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test19",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.0009824/0.0009823, 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.0009823/0.0009826, allocations: 203.1 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.438/1.438, allocations: 205.1 MB / 222.6 MB, free: 4.758 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.3784/0.3784, allocations: 43.51 MB / 313.5 MB, free: 8.531 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.001464/0.001464, allocations: 74.56 kB / 382.1 MB, free: 8.617 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1389, allocations: 57.79 MB / 439.9 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.003605/0.1425, allocations: 1.749 MB / 441.7 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001374/0.1439, allocations: 0.7924 MB / 442.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.325e-05/0.144, allocations: 4 kB / 442.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000327/0.1444, allocations: 39.83 kB / 442.5 MB, free: 12.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001671/0.1446, allocations: 43.83 kB / 442.6 MB, free: 12.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002331/0.1448, allocations: 75.84 kB / 442.6 MB, free: 12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.145, allocations: 91.7 kB / 442.7 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.1451, allocations: 12.22 kB / 442.7 MB, free: 11.9 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.926e-05/0.1452, allocations: 51.77 kB / 442.8 MB, free: 11.85 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.951e-05/0.1452, allocations: 23.86 kB / 442.8 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.1453, allocations: 4 kB / 442.8 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.447e-05/0.1454, allocations: 39.98 kB / 442.8 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.568e-05/0.1454, allocations: 23.84 kB / 442.9 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.031e-05/0.1455, allocations: 31.75 kB / 442.9 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001715/0.1457, allocations: 107.9 kB / 443 MB, free: 11.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.1457, allocations: 0 / 443 MB, free: 11.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1457, allocations: 4 kB / 443 MB, free: 11.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.1457, allocations: 0 / 443 MB, free: 11.62 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000528/0.1462, allocations: 415 kB / 443.4 MB, free: 11.17 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.1463, allocations: 8.031 kB / 443.4 MB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.079e-05/0.1463, allocations: 34.73 kB / 443.5 MB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.876e-05/0.1464, allocations: 12.84 kB / 443.5 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.1466, allocations: 212 kB / 443.7 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.1466, allocations: 4.375 kB / 443.7 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.1467, allocations: 7.938 kB / 443.7 MB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.1469, allocations: 57.61 kB / 443.7 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.1469, allocations: 4 kB / 443.7 MB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.1469, allocations: 4 kB / 443.8 MB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.1469, allocations: 0 / 443.8 MB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.245e-05/0.147, allocations: 15.98 kB / 443.8 MB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003625/0.1474, allocations: 296.7 kB / 444.1 MB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/0.1475, allocations: 54.67 kB / 444.1 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.129e-05/0.1476, allocations: 28.84 kB / 444.1 MB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.1476, allocations: 0 / 444.1 MB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000207/0.1478, allocations: 63.39 kB / 444.2 MB, free: 10.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.1479, allocations: 3.938 kB / 444.2 MB, free: 10.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005448/0.1484, allocations: 165.3 kB / 444.4 MB, free: 10.08 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.1485, allocations: 55.41 kB / 444.4 MB, free: 10.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.1486, allocations: 194.1 kB / 444.6 MB, free: 9.812 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.1487, allocations: 33.7 kB / 444.6 MB, free: 9.773 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.676e-05/0.1487, allocations: 100.1 kB / 444.7 MB, free: 9.672 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.718e-05/0.1488, allocations: 23.7 kB / 444.8 MB, free: 9.648 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/0.1488, allocations: 21.66 kB / 444.8 MB, free: 9.621 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.1489, allocations: 322.8 kB / 445.1 MB, free: 9.297 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.025e-05/0.149, allocations: 23.98 kB / 445.1 MB, free: 9.273 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.475e-05/0.1491, allocations: 37.7 kB / 445.2 MB, free: 9.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.1492, allocations: 61.7 kB / 445.2 MB, free: 9.164 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1492, allocations: 3.938 kB / 445.2 MB, free: 9.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001729/0.1494, allocations: 97.64 kB / 445.3 MB, free: 9.059 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.1494, allocations: 8 kB / 445.3 MB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1494, allocations: 0 / 445.3 MB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.1494, allocations: 0 / 445.3 MB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.892e-05/0.1495, allocations: 23.95 kB / 445.4 MB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.1495, allocations: 4 kB / 445.4 MB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.463e-05/0.1496, allocations: 7.938 kB / 445.4 MB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.1496, allocations: 4 kB / 445.4 MB, free: 9.012 MB / 382.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.0001/0.1497, allocations: 126.6 kB / 445.5 MB, free: 8.879 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.119e-05/0.1497, allocations: 11.81 kB / 445.5 MB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.862e-05/0.1498, allocations: 17.09 kB / 445.5 MB, free: 8.855 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1498, allocations: 0 / 445.5 MB, free: 8.855 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.1498, allocations: 0 / 445.5 MB, free: 8.855 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.1498, allocations: 11.88 kB / 445.5 MB, free: 8.844 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003995/0.1502, allocations: 395.3 kB / 445.9 MB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.1502, allocations: 3.984 kB / 445.9 MB, free: 8.395 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.984e-05/0.1503, allocations: 8 kB / 445.9 MB, free: 8.387 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.1503, allocations: 3.938 kB / 445.9 MB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.1503, allocations: 0 / 445.9 MB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.1503, allocations: 4 kB / 445.9 MB, free: 8.379 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.1503, allocations: 0 / 445.9 MB, free: 8.379 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002196/0.1505, allocations: 204.3 kB / 446.1 MB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.207e-05/0.1506, allocations: 85 kB / 446.2 MB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.1506, allocations: 11.94 kB / 446.2 MB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.406e-05/0.1507, allocations: 0 / 446.2 MB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.077e-05/0.1507, allocations: 11.97 kB / 446.2 MB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.1507, allocations: 4 kB / 446.2 MB, free: 8.031 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000101/0.1509, allocations: 143.2 kB / 446.4 MB, free: 7.891 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1509, allocations: 4 kB / 446.4 MB, free: 7.887 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002506/0.1511, allocations: 31.89 kB / 446.4 MB, free: 7.855 MB / 382.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.001457/0.1526, allocations: 1.105 MB / 447.5 MB, free: 6.762 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001648/0.1528, allocations: 59.89 kB / 447.6 MB, free: 6.703 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1528, allocations: 0 / 447.6 MB, free: 6.703 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.375e-05/0.1528, allocations: 36.05 kB / 447.6 MB, free: 6.668 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003342/0.1532, allocations: 27.92 kB / 447.6 MB, free: 6.641 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/0.1548, allocations: 1.645 MB / 449.3 MB, free: 4.906 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.1551, allocations: 0.7043 MB / 450 MB, free: 4.176 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.061e-05/0.1551, allocations: 12.88 kB / 450 MB, free: 4.164 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.176e-05/0.1552, allocations: 35.42 kB / 450 MB, free: 4.129 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1552, allocations: 7.938 kB / 450.1 MB, free: 4.121 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02593/0.1812, allocations: 3.106 MB / 453.2 MB, free: 0.9883 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002313/0.1814, allocations: 238.3 kB / 453.4 MB, free: 0.7305 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.692/1.873, allocations: 0 / 453.4 MB, free: 0.7305 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test19_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test19.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches