Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10",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.0007331/0.0007332, allocations: 97.8 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.0009315/0.0009316, allocations: 184.6 kB / 16.92 MB, free: 6.934 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.591/1.591, allocations: 205.4 MB / 223.1 MB, free: 5.488 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.3687/0.3687, allocations: 43.57 MB / 315 MB, free: 9.074 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.0005086/0.0005086, allocations: 16.56 kB / 384.7 MB, free: 7.785 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.131, allocations: 58.87 MB / 443.6 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.002448/0.1335, allocations: 1.622 MB / 445.2 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001419/0.1349, allocations: 0.8003 MB / 446 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.1351, allocations: 3.938 kB / 446 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003226/0.1354, allocations: 39.83 kB / 446 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001954/0.1356, allocations: 51.75 kB / 446.1 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002824/0.1359, allocations: 91.84 kB / 446.2 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002079/0.1361, allocations: 131.6 kB / 446.3 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.1362, allocations: 33.64 kB / 446.3 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.977e-05/0.1363, allocations: 47.78 kB / 446.4 MB, free: 9.973 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.61e-05/0.1364, allocations: 47.64 kB / 446.4 MB, free: 9.926 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.1365, allocations: 4 kB / 446.4 MB, free: 9.922 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.291e-05/0.1366, allocations: 43.98 kB / 446.5 MB, free: 9.879 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.157e-05/0.1366, allocations: 15.92 kB / 446.5 MB, free: 9.863 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.614e-05/0.1367, allocations: 81.3 kB / 446.6 MB, free: 9.777 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.1369, allocations: 131.6 kB / 446.7 MB, free: 9.648 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1369, allocations: 7.938 kB / 446.7 MB, free: 9.641 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1369, allocations: 0 / 446.7 MB, free: 9.641 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.1369, allocations: 0 / 446.7 MB, free: 9.641 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.0006144/0.1376, allocations: 460.5 kB / 447.1 MB, free: 9.137 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.1376, allocations: 8.031 kB / 447.1 MB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.75e-05/0.1377, allocations: 38.75 kB / 447.2 MB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.102e-05/0.1377, allocations: 16.75 kB / 447.2 MB, free: 9.066 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002483/0.138, allocations: 224.8 kB / 447.4 MB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.138, allocations: 4.375 kB / 447.4 MB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.466e-05/0.138, allocations: 15.88 kB / 447.4 MB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002453/0.1383, allocations: 108.2 kB / 447.5 MB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.1383, allocations: 4 kB / 447.6 MB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.1383, allocations: 0 / 447.6 MB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.1383, allocations: 0 / 447.6 MB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001592/0.1385, allocations: 67.83 kB / 447.6 MB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005741/0.1391, allocations: 0.5048 MB / 448.1 MB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003133/0.1394, allocations: 90.61 kB / 448.2 MB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.659e-05/0.1395, allocations: 40.83 kB / 448.3 MB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.1395, allocations: 0 / 448.3 MB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002192/0.1398, allocations: 91.31 kB / 448.3 MB, free: 7.793 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.1398, allocations: 0 / 448.3 MB, free: 7.793 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003985/0.1402, allocations: 149.3 kB / 448.5 MB, free: 7.641 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.1402, allocations: 55.41 kB / 448.5 MB, free: 7.574 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000192/0.1404, allocations: 191.5 kB / 448.7 MB, free: 7.375 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.1405, allocations: 29.7 kB / 448.8 MB, free: 7.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.917e-05/0.1405, allocations: 115.9 kB / 448.9 MB, free: 7.223 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.735e-05/0.1406, allocations: 31.62 kB / 448.9 MB, free: 7.191 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.013e-05/0.1406, allocations: 17.72 kB / 448.9 MB, free: 7.168 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.1407, allocations: 331.2 kB / 449.2 MB, free: 6.836 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.914e-05/0.1408, allocations: 27.98 kB / 449.3 MB, free: 6.809 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.141, allocations: 68.27 kB / 449.3 MB, free: 6.727 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001893/0.1412, allocations: 100.2 kB / 449.4 MB, free: 6.613 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.1412, allocations: 4 kB / 449.4 MB, free: 6.609 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000285/0.1415, allocations: 145.3 kB / 449.6 MB, free: 6.461 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.1415, allocations: 4 kB / 449.6 MB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1415, allocations: 4.125 kB / 449.6 MB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.1415, allocations: 7.938 kB / 449.6 MB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.965e-05/0.1416, allocations: 23.98 kB / 449.6 MB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.1416, allocations: 0 / 449.6 MB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.102e-05/0.1417, allocations: 19.89 kB / 449.6 MB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.1417, allocations: 4 kB / 449.6 MB, free: 6.398 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.0001173/0.1419, allocations: 125.8 kB / 449.8 MB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.207e-05/0.1419, allocations: 11.91 kB / 449.8 MB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.081e-05/0.1419, allocations: 25.38 kB / 449.8 MB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.1419, allocations: 3.938 kB / 449.8 MB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.142, allocations: 0 / 449.8 MB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.142, allocations: 0 / 449.8 MB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/0.1422, allocations: 213.5 kB / 450 MB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1422, allocations: 0 / 450 MB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.796e-05/0.1423, allocations: 15.98 kB / 450 MB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1423, allocations: 3.938 kB / 450 MB, free: 5.945 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.1423, allocations: 4 kB / 450 MB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.1423, allocations: 3.938 kB / 450 MB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1423, allocations: 4 kB / 450 MB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003868/0.1427, allocations: 185 kB / 450.2 MB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.753e-05/0.1428, allocations: 92.94 kB / 450.3 MB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.523e-05/0.1428, allocations: 4 kB / 450.3 MB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.981e-05/0.1429, allocations: 19.98 kB / 450.3 MB, free: 5.602 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.254e-05/0.1429, allocations: 7.938 kB / 450.3 MB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.143, allocations: 8 kB / 450.4 MB, free: 5.586 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001102/0.1431, allocations: 137.2 kB / 450.5 MB, free: 5.453 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1431, allocations: 0 / 450.5 MB, free: 5.453 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002299/0.1433, allocations: 32.11 kB / 450.5 MB, free: 5.422 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.00148/0.1448, allocations: 1.033 MB / 451.6 MB, free: 4.398 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002426/0.1451, allocations: 88.02 kB / 451.6 MB, free: 4.312 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1451, allocations: 0 / 451.6 MB, free: 4.312 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.532e-05/0.1452, allocations: 39.92 kB / 451.7 MB, free: 4.273 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.1455, allocations: 39.84 kB / 451.7 MB, free: 4.234 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/0.1474, allocations: 1.785 MB / 453.5 MB, free: 2.344 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.1477, allocations: 0.7123 MB / 454.2 MB, free: 1.605 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.926e-05/0.1478, allocations: 17.42 kB / 454.2 MB, free: 1.586 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.159e-05/0.1478, allocations: 51.34 kB / 454.3 MB, free: 1.535 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1478, allocations: 0 / 454.3 MB, free: 1.535 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2279/0.3757, allocations: 3.287 MB / 457.6 MB, free: 44.94 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001559/0.3759, allocations: 230.7 kB / 457.8 MB, free: 44.69 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.06/2.436, allocations: 2.875 kB / 457.8 MB, free: 44.69 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches