Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001644/0.001644, allocations: 115.7 kB / 17.33 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002081/0.002081, allocations: 205.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.537/1.537, allocations: 227.4 MB / 246.4 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2231/0.2231, allocations: 46.1 MB / 343.8 MB, free: 11.73 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001608, allocations: 81.06 kB / 417.2 MB, free: 19.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.126, allocations: 62.45 MB / 479.6 MB, free: 5.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.00323/0.1293, allocations: 1.789 MB / 481.4 MB, free: 3.684 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001537/0.1308, allocations: 1.01 MB / 482.4 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.638e-05/0.1309, allocations: 0 / 482.4 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003258/0.1313, allocations: 43.83 kB / 482.4 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002823/0.1315, allocations: 79.73 kB / 482.5 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001793/0.1317, allocations: 71.81 kB / 482.6 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001745/0.1319, allocations: 103.7 kB / 482.7 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.132, allocations: 12 kB / 482.7 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.31e-05/0.1321, allocations: 39.78 kB / 482.7 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.011e-05/0.1322, allocations: 39.78 kB / 482.8 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.506e-05/0.1323, allocations: 4 kB / 482.8 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.983e-05/0.1324, allocations: 47.92 kB / 482.8 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.319e-05/0.1324, allocations: 19.92 kB / 482.9 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.43e-05/0.1325, allocations: 43.72 kB / 482.9 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001881/0.1327, allocations: 119.9 kB / 483 MB, free: 2.055 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1327, allocations: 0 / 483 MB, free: 2.055 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1327, allocations: 0 / 483 MB, free: 2.055 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.1327, allocations: 0 / 483 MB, free: 2.055 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.0005734/0.1333, allocations: 422.9 kB / 483.4 MB, free: 1.594 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.1333, allocations: 12.03 kB / 483.4 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.458e-05/0.1334, allocations: 30.75 kB / 483.5 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.133e-05/0.1334, allocations: 16.69 kB / 483.5 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002463/0.1337, allocations: 212.1 kB / 483.7 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.1337, allocations: 4.375 kB / 483.7 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.1337, allocations: 3.938 kB / 483.7 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.1339, allocations: 53.67 kB / 483.8 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.1339, allocations: 0 / 483.8 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.1339, allocations: 3.984 kB / 483.8 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.1339, allocations: 4 kB / 483.8 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.922e-05/0.134, allocations: 15.98 kB / 483.8 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003968/0.1344, allocations: 300.8 kB / 484.1 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.1346, allocations: 54.69 kB / 484.1 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.32e-05/0.1346, allocations: 20.84 kB / 484.1 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.1347, allocations: 0 / 484.1 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001746/0.1348, allocations: 83.27 kB / 484.2 MB, free: 0.668 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.1348, allocations: 0 / 484.2 MB, free: 0.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005192/0.1354, allocations: 177 kB / 484.4 MB, free: 500 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.1354, allocations: 51.41 kB / 484.5 MB, free: 436 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.1356, allocations: 214.8 kB / 484.7 MB, free: 212 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.1356, allocations: 29.7 kB / 484.7 MB, free: 176 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.729e-05/0.1357, allocations: 100.1 kB / 484.8 MB, free: 72 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.744e-05/0.1357, allocations: 23.7 kB / 484.8 MB, free: 48 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.292e-05/0.1357, allocations: 25.66 kB / 484.8 MB, free: 16 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.1359, allocations: 326.8 kB / 485.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.633e-05/0.1359, allocations: 23.98 kB / 485.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.559e-05/0.136, allocations: 33.7 kB / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.1361, allocations: 61.64 kB / 485.3 MB, free: 15.56 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1361, allocations: 0 / 485.3 MB, free: 15.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001847/0.1363, allocations: 105.5 kB / 485.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.1363, allocations: 8 kB / 485.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.1363, allocations: 0 / 485.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.706e-06/0.1363, allocations: 0 / 485.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.956e-05/0.1364, allocations: 19.92 kB / 485.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.1364, allocations: 4 kB / 485.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.256e-05/0.1365, allocations: 7.875 kB / 485.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.1365, allocations: 7.984 kB / 485.4 MB, free: 15.4 MB / 366.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 8.447e-05/0.1366, allocations: 129.9 kB / 485.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.976e-05/0.1366, allocations: 11.91 kB / 485.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.514e-05/0.1367, allocations: 17.39 kB / 485.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1367, allocations: 4 kB / 485.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.1367, allocations: 0 / 485.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.1367, allocations: 3.938 kB / 485.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003755/0.1371, allocations: 395.2 kB / 486 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1371, allocations: 4.031 kB / 486 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.063e-05/0.1371, allocations: 11.98 kB / 486 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.1371, allocations: 3.938 kB / 486 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.1372, allocations: 8 kB / 486 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.1372, allocations: 4.172 kB / 486 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1372, allocations: 0 / 486 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002055/0.1374, allocations: 196.7 kB / 486.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.919e-05/0.1374, allocations: 93.11 kB / 486.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.1375, allocations: 11.92 kB / 486.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.593e-05/0.1375, allocations: 11.94 kB / 486.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.64e-05/0.1376, allocations: 4 kB / 486.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.1376, allocations: 7.984 kB / 486.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001194/0.1377, allocations: 156.3 kB / 486.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1377, allocations: 0 / 486.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002387/0.138, allocations: 20 kB / 486.5 MB, free: 14.22 MB / 366.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.00129/0.1392, allocations: 1.101 MB / 487.6 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000156/0.1394, allocations: 55.92 kB / 487.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1394, allocations: 0 / 487.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.756e-05/0.1395, allocations: 35.92 kB / 487.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.1398, allocations: 23.48 kB / 487.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001557/0.1414, allocations: 1.707 MB / 489.4 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/0.1416, allocations: 0.7119 MB / 490.1 MB, free: 10.62 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.903e-05/0.1417, allocations: 16.53 kB / 490.1 MB, free: 10.6 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.005e-05/0.1418, allocations: 39.42 kB / 490.2 MB, free: 10.56 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1418, allocations: 0 / 490.2 MB, free: 10.56 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02728/0.169, allocations: 3.336 MB / 493.5 MB, free: 7.332 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002222/0.1693, allocations: 234.2 kB / 493.7 MB, free: 7.078 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.009/2.178, allocations: 4 kB / 493.7 MB, free: 7.074 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test26_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test26.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches