Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57",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.001203/0.001203, allocations: 104.5 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.001125/0.001125, 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.372/1.372, allocations: 222.9 MB / 242.3 MB, free: 15.16 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.2519/0.2519, allocations: 44.18 MB / 336.6 MB, free: 2.727 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 65.31 kB / 408.5 MB, free: 27.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1247, allocations: 60.83 MB / 469.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003426/0.1282, allocations: 1.692 MB / 471.1 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001957/0.1302, allocations: 1.483 MB / 472.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.514e-05/0.1303, allocations: 4 kB / 472.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002889/0.1306, allocations: 43.7 kB / 472.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002095/0.1308, allocations: 55.7 kB / 472.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002831/0.1311, allocations: 103.6 kB / 472.7 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001656/0.1313, allocations: 99.73 kB / 472.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.704e-05/0.1314, allocations: 20.16 kB / 472.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.406e-05/0.1315, allocations: 39.8 kB / 472.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.1316, allocations: 39.83 kB / 472.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.1316, allocations: 4 kB / 472.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.1318, allocations: 63.97 kB / 473 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.967e-05/0.1318, allocations: 15.92 kB / 473 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.313e-05/0.1319, allocations: 31.8 kB / 473.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.1321, allocations: 115.9 kB / 473.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.1321, allocations: 0 / 473.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1321, allocations: 7.938 kB / 473.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.1321, allocations: 4 kB / 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006024/0.1327, allocations: 399.2 kB / 473.6 MB, free: 9.957 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.1328, allocations: 12.03 kB / 473.6 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.789e-05/0.1328, allocations: 30.75 kB / 473.6 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.225e-05/0.1329, allocations: 8.844 kB / 473.6 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.1331, allocations: 212.1 kB / 473.8 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.1331, allocations: 384 / 473.8 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.1331, allocations: 3.938 kB / 473.8 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.1333, allocations: 75.33 kB / 473.9 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.1333, allocations: 3.984 kB / 473.9 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.1334, allocations: 4 kB / 473.9 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.1334, allocations: 4 kB / 473.9 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.866e-05/0.1334, allocations: 15.98 kB / 473.9 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000337/0.1338, allocations: 280.9 kB / 474.2 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001759/0.134, allocations: 58.62 kB / 474.3 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.112e-05/0.134, allocations: 20.84 kB / 474.3 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.1341, allocations: 3.938 kB / 474.3 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001725/0.1342, allocations: 67.39 kB / 474.4 MB, free: 9.039 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.663e-06/0.1343, allocations: 0 / 474.4 MB, free: 9.039 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005427/0.1348, allocations: 181.5 kB / 474.5 MB, free: 8.855 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.1349, allocations: 77.11 kB / 474.6 MB, free: 8.762 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.135, allocations: 152.3 kB / 474.8 MB, free: 8.605 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.135, allocations: 29.69 kB / 474.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.663e-05/0.1351, allocations: 100.1 kB / 474.9 MB, free: 8.469 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.42e-05/0.1351, allocations: 27.64 kB / 474.9 MB, free: 8.441 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.863e-05/0.1352, allocations: 21.72 kB / 474.9 MB, free: 8.414 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.1353, allocations: 318.8 kB / 475.2 MB, free: 8.094 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.801e-05/0.1354, allocations: 28.05 kB / 475.3 MB, free: 8.066 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.313e-05/0.1354, allocations: 54.44 kB / 475.3 MB, free: 8.004 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.1355, allocations: 49.72 kB / 475.4 MB, free: 7.949 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1355, allocations: 0 / 475.4 MB, free: 7.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001724/0.1357, allocations: 109.6 kB / 475.5 MB, free: 7.836 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.1357, allocations: 8.062 kB / 475.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.1358, allocations: 0 / 475.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.1358, allocations: 0 / 475.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.606e-05/0.1359, allocations: 19.98 kB / 475.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.1359, allocations: 0 / 475.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.373e-05/0.136, allocations: 3.938 kB / 475.5 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.136, allocations: 8 kB / 475.5 MB, free: 7.797 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 (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.925e-05/0.1361, allocations: 122.6 kB / 475.6 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.298e-05/0.1361, allocations: 7.906 kB / 475.6 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.181e-05/0.1362, allocations: 20.7 kB / 475.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.1362, allocations: 0 / 475.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.1362, allocations: 3.984 kB / 475.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.1362, allocations: 3.938 kB / 475.7 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004299/0.1366, allocations: 387.3 kB / 476.1 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1366, allocations: 0 / 476.1 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.258e-05/0.1367, allocations: 11.98 kB / 476.1 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.1367, allocations: 7.938 kB / 476.1 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.1367, allocations: 4.031 kB / 476.1 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.1367, allocations: 0 / 476.1 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.1367, allocations: 0 / 476.1 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002349/0.1369, allocations: 212.1 kB / 476.3 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.028e-05/0.137, allocations: 85.02 kB / 476.4 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.8e-05/0.137, allocations: 7.922 kB / 476.4 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.334e-05/0.1371, allocations: 8 kB / 476.4 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.151e-05/0.1372, allocations: 8 kB / 476.4 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.1372, allocations: 7.984 kB / 476.4 MB, free: 6.809 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001053/0.1373, allocations: 111.3 kB / 476.5 MB, free: 6.699 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1373, allocations: 0 / 476.5 MB, free: 6.699 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000278/0.1376, allocations: 31.98 kB / 476.5 MB, free: 6.668 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 (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.001692/0.1393, allocations: 1.136 MB / 477.7 MB, free: 5.711 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000213/0.1395, allocations: 63.84 kB / 477.7 MB, free: 5.648 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1395, allocations: 0 / 477.7 MB, free: 5.648 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.826e-05/0.1396, allocations: 31.98 kB / 477.8 MB, free: 5.617 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.14, allocations: 27.91 kB / 477.8 MB, free: 5.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001788/0.1418, allocations: 1.546 MB / 479.3 MB, free: 3.949 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.142, allocations: 0.7012 MB / 480 MB, free: 3.223 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.792e-05/0.1421, allocations: 21.31 kB / 480.1 MB, free: 3.203 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.293e-05/0.1422, allocations: 31.42 kB / 480.1 MB, free: 3.172 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1422, allocations: 4 kB / 480.1 MB, free: 3.168 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02252/0.1647, allocations: 3.46 MB / 483.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.681/7.846, allocations: 19.98 kB / 483.6 MB, free: 15.77 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches