Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test7",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.001025/0.001025, allocations: 96.86 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.001285/0.001285, allocations: 181.3 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.526/1.526, allocations: 205.4 MB / 223.1 MB, free: 5.504 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.4257/0.4257, allocations: 43.57 MB / 315 MB, free: 9.055 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.0005552/0.0005554, allocations: 20 kB / 384.7 MB, free: 7.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1333, allocations: 58.86 MB / 443.5 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.002189/0.1356, allocations: 1.414 MB / 445 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.137, allocations: 0.7846 MB / 445.7 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.177e-05/0.1371, allocations: 0 / 445.7 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004535/0.1375, allocations: 95.73 kB / 445.8 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002973/0.1378, allocations: 79.78 kB / 445.9 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000311/0.1382, allocations: 87.83 kB / 446 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002287/0.1384, allocations: 103.7 kB / 446.1 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.1385, allocations: 12.22 kB / 446.1 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.1387, allocations: 47.78 kB / 446.2 MB, free: 10.17 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001348/0.1388, allocations: 59.8 kB / 446.2 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.1388, allocations: 4 kB / 446.2 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.139, allocations: 39.92 kB / 446.3 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.049e-05/0.139, allocations: 27.84 kB / 446.3 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.979e-05/0.1391, allocations: 61.45 kB / 446.4 MB, free: 9.977 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002087/0.1394, allocations: 123.8 kB / 446.5 MB, free: 9.855 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1394, allocations: 0 / 446.5 MB, free: 9.855 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1394, allocations: 0 / 446.5 MB, free: 9.855 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.1394, allocations: 0 / 446.5 MB, free: 9.855 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.000561/0.14, allocations: 414.9 kB / 446.9 MB, free: 9.402 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.14, allocations: 12.03 kB / 446.9 MB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.527e-05/0.1401, allocations: 34.75 kB / 446.9 MB, free: 9.348 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.431e-05/0.1401, allocations: 16.83 kB / 446.9 MB, free: 9.332 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/0.1404, allocations: 220.7 kB / 447.2 MB, free: 9.078 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.1404, allocations: 384 / 447.2 MB, free: 9.078 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.583e-05/0.1404, allocations: 11.92 kB / 447.2 MB, free: 9.066 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.1406, allocations: 61.61 kB / 447.2 MB, free: 9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.1406, allocations: 0 / 447.2 MB, free: 9 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.1406, allocations: 0 / 447.2 MB, free: 9 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.1406, allocations: 0 / 447.2 MB, free: 9 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.206e-05/0.1407, allocations: 23.98 kB / 447.3 MB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004086/0.1411, allocations: 296.7 kB / 447.5 MB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.1413, allocations: 62.61 kB / 447.6 MB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.166e-05/0.1414, allocations: 16.86 kB / 447.6 MB, free: 8.547 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.1414, allocations: 0 / 447.6 MB, free: 8.547 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001931/0.1416, allocations: 79.31 kB / 447.7 MB, free: 8.457 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.1416, allocations: 0 / 447.7 MB, free: 8.457 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005514/0.1422, allocations: 165.2 kB / 447.9 MB, free: 8.289 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.1422, allocations: 59.34 kB / 447.9 MB, free: 8.219 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002231/0.1425, allocations: 254 kB / 448.2 MB, free: 7.961 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.1425, allocations: 29.7 kB / 448.2 MB, free: 7.926 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.315e-05/0.1426, allocations: 104.1 kB / 448.3 MB, free: 7.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.025e-05/0.1426, allocations: 23.7 kB / 448.3 MB, free: 7.797 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.818e-05/0.1426, allocations: 21.7 kB / 448.3 MB, free: 7.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.1427, allocations: 326.8 kB / 448.7 MB, free: 7.441 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.403e-05/0.1428, allocations: 20 kB / 448.7 MB, free: 7.422 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.099e-05/0.1429, allocations: 33.7 kB / 448.7 MB, free: 7.383 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.143, allocations: 65.64 kB / 448.8 MB, free: 7.312 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.143, allocations: 0 / 448.8 MB, free: 7.312 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001765/0.1432, allocations: 101.5 kB / 448.9 MB, free: 7.207 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.1432, allocations: 8 kB / 448.9 MB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.1432, allocations: 0 / 448.9 MB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.1432, allocations: 0 / 448.9 MB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.997e-05/0.1433, allocations: 19.94 kB / 448.9 MB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.1433, allocations: 4.141 kB / 448.9 MB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.766e-05/0.1434, allocations: 7.922 kB / 448.9 MB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.1434, allocations: 8 kB / 448.9 MB, free: 7.16 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 9.897e-05/0.1435, allocations: 129.9 kB / 449 MB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.048e-05/0.1435, allocations: 19.81 kB / 449.1 MB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.735e-05/0.1436, allocations: 17.41 kB / 449.1 MB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1436, allocations: 0 / 449.1 MB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.1436, allocations: 0 / 449.1 MB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.1436, allocations: 11.86 kB / 449.1 MB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004089/0.144, allocations: 399.3 kB / 449.5 MB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1441, allocations: 0 / 449.5 MB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.102e-05/0.1441, allocations: 8.031 kB / 449.5 MB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.1441, allocations: 8.312 kB / 449.5 MB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.1441, allocations: 4 kB / 449.5 MB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.1441, allocations: 8.172 kB / 449.5 MB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1441, allocations: 3.938 kB / 449.5 MB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002174/0.1444, allocations: 204.1 kB / 449.7 MB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.741e-05/0.1444, allocations: 85.02 kB / 449.8 MB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.729e-05/0.1445, allocations: 15.94 kB / 449.8 MB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.11e-05/0.1445, allocations: 7.984 kB / 449.8 MB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.147e-05/0.1446, allocations: 0 / 449.8 MB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.1446, allocations: 4 kB / 449.8 MB, free: 6.145 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002083/0.1448, allocations: 188.3 kB / 450 MB, free: 5.961 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1448, allocations: 0 / 450 MB, free: 5.961 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002539/0.1451, allocations: 23.98 kB / 450 MB, free: 5.938 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.00146/0.1465, allocations: 1.109 MB / 451.1 MB, free: 4.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001762/0.1467, allocations: 63.91 kB / 451.2 MB, free: 4.777 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1467, allocations: 0 / 451.2 MB, free: 4.777 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.476e-05/0.1468, allocations: 20 kB / 451.2 MB, free: 4.758 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.1472, allocations: 32.28 kB / 451.3 MB, free: 4.727 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001972/0.1492, allocations: 1.785 MB / 453 MB, free: 2.844 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.1495, allocations: 0.7235 MB / 453.8 MB, free: 2.094 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.588e-05/0.1495, allocations: 16.88 kB / 453.8 MB, free: 2.078 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.781e-05/0.1496, allocations: 39.42 kB / 453.8 MB, free: 2.039 MB / 382.1 MB Notification: Performance of SimCode: time 2.064e-06/0.1496, allocations: 3.938 kB / 453.8 MB, free: 2.035 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2284/0.3781, allocations: 3.167 MB / 457 MB, free: 45.73 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001776/0.3783, allocations: 232.8 kB / 457.2 MB, free: 45.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.815/2.193, allocations: 0 / 457.2 MB, free: 45.48 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test7_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches