Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50",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.001044/0.001044, allocations: 103.9 kB / 17.63 MB, free: 5.344 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.001128/0.001128, allocations: 192 kB / 18.56 MB, free: 4.434 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.355/1.355, allocations: 222.9 MB / 242.3 MB, free: 15.18 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.2826/0.2826, allocations: 44.19 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 63.23 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1321, allocations: 60.82 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.004338/0.1364, allocations: 1.7 MB / 471.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002894/0.1394, allocations: 1.479 MB / 472.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001351/0.1396, allocations: 0 / 472.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003629/0.1399, allocations: 39.77 kB / 472.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000324/0.1403, allocations: 59.75 kB / 472.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004559/0.1408, allocations: 118.3 kB / 472.8 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000278/0.1411, allocations: 107.7 kB / 472.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.1412, allocations: 4.234 kB / 472.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001441/0.1414, allocations: 51.77 kB / 472.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002006/0.1416, allocations: 39.78 kB / 473 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.7e-05/0.1416, allocations: 8 kB / 473 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002047/0.1418, allocations: 59.97 kB / 473 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.801e-05/0.1419, allocations: 23.91 kB / 473 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.556e-05/0.142, allocations: 31.81 kB / 473.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003653/0.1424, allocations: 139.8 kB / 473.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1424, allocations: 0 / 473.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1424, allocations: 0 / 473.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.702e-06/0.1424, allocations: 0 / 473.2 MB, free: 10.39 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007223/0.1431, allocations: 418.9 kB / 473.6 MB, free: 9.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.1432, allocations: 8.031 kB / 473.6 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.996e-05/0.1432, allocations: 34.75 kB / 473.7 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.426e-05/0.1433, allocations: 12.84 kB / 473.7 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000261/0.1436, allocations: 212.5 kB / 473.9 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.1436, allocations: 4 kB / 473.9 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.1436, allocations: 0 / 473.9 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.1438, allocations: 79.38 kB / 474 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.1439, allocations: 0 / 474 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.1439, allocations: 0 / 474 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.1439, allocations: 3.938 kB / 474 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.144, allocations: 31.97 kB / 474 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004972/0.1445, allocations: 292.8 kB / 474.3 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002248/0.1447, allocations: 70.67 kB / 474.4 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.868e-05/0.1448, allocations: 28.78 kB / 474.4 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.982e-05/0.1449, allocations: 4 kB / 474.4 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002877/0.1452, allocations: 79.44 kB / 474.5 MB, free: 8.953 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.924e-06/0.1452, allocations: 0 / 474.5 MB, free: 8.953 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007398/0.1459, allocations: 193.2 kB / 474.7 MB, free: 8.758 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.131e-05/0.146, allocations: 81.05 kB / 474.7 MB, free: 8.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002127/0.1462, allocations: 155.9 kB / 474.9 MB, free: 8.496 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.1463, allocations: 29.7 kB / 474.9 MB, free: 8.461 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.727e-05/0.1463, allocations: 96.08 kB / 475 MB, free: 8.363 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.334e-05/0.1464, allocations: 31.64 kB / 475 MB, free: 8.332 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.572e-05/0.1465, allocations: 29.7 kB / 475.1 MB, free: 8.297 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.1466, allocations: 318.8 kB / 475.4 MB, free: 7.977 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.27e-05/0.1467, allocations: 23.98 kB / 475.4 MB, free: 7.953 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.612e-05/0.1468, allocations: 50.5 kB / 475.5 MB, free: 7.895 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.147, allocations: 73.77 kB / 475.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.147, allocations: 0 / 475.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002466/0.1472, allocations: 117.4 kB / 475.6 MB, free: 7.695 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.1472, allocations: 4 kB / 475.6 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.1473, allocations: 7.938 kB / 475.7 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.1473, allocations: 0 / 475.7 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.1474, allocations: 23.92 kB / 475.7 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.1474, allocations: 0 / 475.7 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.307e-05/0.1475, allocations: 0 / 475.7 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.1475, allocations: 4 kB / 475.7 MB, free: 7.656 MB / 350.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 (11): * Single equations (assignments): 11 * 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.0001253/0.1476, allocations: 129.9 kB / 475.8 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.317e-05/0.1477, allocations: 11.91 kB / 475.8 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.552e-05/0.1477, allocations: 20.64 kB / 475.8 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.1477, allocations: 4 kB / 475.8 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.1478, allocations: 0 / 475.8 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.1478, allocations: 0 / 475.8 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000532/0.1483, allocations: 415.7 kB / 476.2 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.1483, allocations: 4 kB / 476.3 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.391e-05/0.1484, allocations: 15.94 kB / 476.3 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.1484, allocations: 0 / 476.3 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.1484, allocations: 4 kB / 476.3 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.1484, allocations: 0 / 476.3 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.1484, allocations: 3.984 kB / 476.3 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002962/0.1487, allocations: 220.2 kB / 476.5 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.288e-05/0.1488, allocations: 81.02 kB / 476.6 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.232e-05/0.1488, allocations: 8 kB / 476.6 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.85e-05/0.1489, allocations: 7.984 kB / 476.6 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.445e-05/0.1489, allocations: 192 / 476.6 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.149, allocations: 4 kB / 476.6 MB, free: 6.637 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001125/0.1491, allocations: 129.2 kB / 476.7 MB, free: 6.512 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1491, allocations: 0 / 476.7 MB, free: 6.512 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002959/0.1494, allocations: 39.89 kB / 476.8 MB, free: 6.473 MB / 350.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 (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.001777/0.1512, allocations: 1.151 MB / 477.9 MB, free: 5.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002358/0.1514, allocations: 75.84 kB / 478 MB, free: 5.426 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1515, allocations: 0 / 478 MB, free: 5.426 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.122e-05/0.1516, allocations: 43.98 kB / 478 MB, free: 5.383 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003497/0.1519, allocations: 23.98 kB / 478 MB, free: 5.359 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001883/0.1538, allocations: 1.602 MB / 479.6 MB, free: 3.664 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.1541, allocations: 0.7038 MB / 480.4 MB, free: 2.934 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001089/0.1542, allocations: 24.92 kB / 480.4 MB, free: 2.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.058e-05/0.1543, allocations: 43.41 kB / 480.4 MB, free: 2.867 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1543, allocations: 0 / 480.4 MB, free: 2.867 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02315/0.1775, allocations: 3.631 MB / 484.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.659/7.836, allocations: 3.984 kB / 484.1 MB, free: 15.32 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches