Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_4_0_0_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.001385/0.001384, allocations: 109.8 kB / 17.33 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 193.3 kB / 18.25 MB, free: 5.117 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 222.9 MB / 241.9 MB, free: 13.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2498/0.2498, allocations: 44.18 MB / 336.2 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 67.22 kB / 408 MB, free: 27.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.136, allocations: 60.83 MB / 468.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003899/0.1399, allocations: 1.965 MB / 470.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001643/0.1416, allocations: 0.9042 MB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001629/0.1418, allocations: 3.938 kB / 471.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003677/0.1422, allocations: 31.84 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003056/0.1426, allocations: 51.75 kB / 471.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004129/0.143, allocations: 103.8 kB / 471.9 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002724/0.1433, allocations: 139.6 kB / 472 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.1434, allocations: 33.47 kB / 472.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.1435, allocations: 51.67 kB / 472.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.1437, allocations: 55.7 kB / 472.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.68e-05/0.1437, allocations: 4 kB / 472.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.1438, allocations: 47.98 kB / 472.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.819e-05/0.1439, allocations: 31.91 kB / 472.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.474e-05/0.144, allocations: 43.69 kB / 472.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00029/0.1443, allocations: 155.7 kB / 472.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1443, allocations: 0 / 472.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1443, allocations: 0 / 472.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.453e-05/0.1443, allocations: 4 kB / 472.4 MB, free: 10.95 MB / 350.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.0006877/0.145, allocations: 468.5 kB / 472.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.1451, allocations: 12.03 kB / 472.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.681e-05/0.1451, allocations: 38.73 kB / 473 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.276e-05/0.1452, allocations: 20.75 kB / 473 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002772/0.1455, allocations: 220.4 kB / 473.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.1455, allocations: 8.359 kB / 473.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.77e-05/0.1456, allocations: 11.94 kB / 473.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002473/0.1458, allocations: 100.2 kB / 473.3 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.1458, allocations: 3.938 kB / 473.3 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.1459, allocations: 7.984 kB / 473.3 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.1459, allocations: 8 kB / 473.3 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001485/0.146, allocations: 43.91 kB / 473.4 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000655/0.1467, allocations: 0.5126 MB / 473.9 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003287/0.147, allocations: 82.66 kB / 474 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.622e-05/0.1471, allocations: 44.78 kB / 474 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.1472, allocations: 0 / 474 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002615/0.1474, allocations: 87.31 kB / 474.1 MB, free: 9.105 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 3.296e-06/0.1474, allocations: 3.984 kB / 474.1 MB, free: 9.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004119/0.1479, allocations: 145.3 kB / 474.2 MB, free: 8.953 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.1479, allocations: 51.41 kB / 474.3 MB, free: 8.891 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.1481, allocations: 191.5 kB / 474.5 MB, free: 8.691 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.1482, allocations: 33.7 kB / 474.5 MB, free: 8.652 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.037e-05/0.1482, allocations: 112 kB / 474.6 MB, free: 8.539 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.746e-05/0.1483, allocations: 27.62 kB / 474.6 MB, free: 8.512 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.086e-05/0.1483, allocations: 33.83 kB / 474.7 MB, free: 8.473 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.1485, allocations: 322.8 kB / 475 MB, free: 8.148 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.023e-05/0.1486, allocations: 31.98 kB / 475 MB, free: 8.117 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.1487, allocations: 66.64 kB / 475.1 MB, free: 8.039 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001917/0.1489, allocations: 100.5 kB / 475.2 MB, free: 7.926 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1489, allocations: 0 / 475.2 MB, free: 7.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002709/0.1492, allocations: 145.3 kB / 475.3 MB, free: 7.777 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.1492, allocations: 10.97 kB / 475.3 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1492, allocations: 0 / 475.3 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.1492, allocations: 3.938 kB / 475.3 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.1493, allocations: 23.98 kB / 475.4 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.1493, allocations: 3.938 kB / 475.4 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.995e-05/0.1494, allocations: 11.94 kB / 475.4 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.878e-05/0.1494, allocations: 8 kB / 475.4 MB, free: 7.719 MB / 350.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.0001232/0.1496, allocations: 125.9 kB / 475.5 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.956e-05/0.1496, allocations: 19.81 kB / 475.5 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.64e-05/0.1497, allocations: 17.41 kB / 475.6 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.1497, allocations: 3.938 kB / 475.6 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.1497, allocations: 0 / 475.6 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.1497, allocations: 3.984 kB / 475.6 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001953/0.1499, allocations: 209.6 kB / 475.8 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1499, allocations: 0 / 475.8 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.789e-05/0.15, allocations: 12 kB / 475.8 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.15, allocations: 0 / 475.8 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.15, allocations: 4 kB / 475.8 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.012e-06/0.15, allocations: 7.875 kB / 475.8 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.15, allocations: 7.938 kB / 475.8 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003743/0.1504, allocations: 180.8 kB / 476 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.296e-05/0.1505, allocations: 88.86 kB / 476.1 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.734e-05/0.1505, allocations: 8 kB / 476.1 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.86e-05/0.1507, allocations: 15.98 kB / 476.1 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.061e-05/0.1507, allocations: 4 kB / 476.1 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.1507, allocations: 4.172 kB / 476.1 MB, free: 6.926 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001199/0.1509, allocations: 141.2 kB / 476.2 MB, free: 6.789 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1509, allocations: 3.938 kB / 476.2 MB, free: 6.785 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002448/0.1511, allocations: 27.98 kB / 476.3 MB, free: 6.758 MB / 350.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.001572/0.1527, allocations: 1.01 MB / 477.3 MB, free: 5.875 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002736/0.153, allocations: 87.83 kB / 477.4 MB, free: 5.789 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.153, allocations: 0 / 477.4 MB, free: 5.789 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.1531, allocations: 35.92 kB / 477.4 MB, free: 5.754 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.1534, allocations: 40.16 kB / 477.4 MB, free: 5.715 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002199/0.1557, allocations: 1.769 MB / 479.2 MB, free: 3.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/0.156, allocations: 0.7123 MB / 479.9 MB, free: 3.102 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.457e-05/0.1561, allocations: 21.39 kB / 479.9 MB, free: 3.082 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.513e-05/0.1562, allocations: 39.42 kB / 480 MB, free: 3.043 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1562, allocations: 4 kB / 480 MB, free: 3.039 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01646/0.1727, allocations: 3.577 MB / 483.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001958/0.1729, allocations: 234.7 kB / 483.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.922/2.095, allocations: 0 / 483.8 MB, free: 15.32 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches