Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000821/0.000821, allocations: 96.48 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000989/0.000989, allocations: 205.5 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 227.7 MB / 246.8 MB, free: 11.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2295/0.2295, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003082/0.000308, allocations: 12 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1316, allocations: 63.56 MB / 483.2 MB, free: 4.059 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.002178/0.1338, allocations: 1.446 MB / 484.6 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001565/0.1354, allocations: 0.9902 MB / 485.6 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.535e-05/0.1355, allocations: 8 kB / 485.6 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002818/0.1358, allocations: 31.84 kB / 485.7 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002939/0.1361, allocations: 75.73 kB / 485.7 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002318/0.1364, allocations: 67.81 kB / 485.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001767/0.1366, allocations: 99.69 kB / 485.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.419e-05/0.1367, allocations: 4 kB / 485.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.876e-05/0.1368, allocations: 39.78 kB / 485.9 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.37e-05/0.1369, allocations: 39.78 kB / 486 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.1369, allocations: 4 kB / 486 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001168/0.137, allocations: 43.92 kB / 486 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.209e-05/0.1371, allocations: 19.92 kB / 486 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.228e-05/0.1371, allocations: 65.42 kB / 486.1 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.1373, allocations: 107.9 kB / 486.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1374, allocations: 0 / 486.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1374, allocations: 0 / 486.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.1374, allocations: 0 / 486.2 MB, free: 1.004 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.0004979/0.1379, allocations: 407.1 kB / 486.6 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.1379, allocations: 12.88 kB / 486.6 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.873e-05/0.138, allocations: 34.69 kB / 486.7 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.769e-05/0.138, allocations: 8.844 kB / 486.7 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.1382, allocations: 218.5 kB / 486.9 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.1383, allocations: 4.375 kB / 486.9 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.834e-05/0.1383, allocations: 3.938 kB / 486.9 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.1384, allocations: 53.67 kB / 486.9 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.1384, allocations: 0 / 486.9 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.1385, allocations: 8 kB / 487 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-06/0.1385, allocations: 0 / 487 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.134e-05/0.1386, allocations: 15.98 kB / 487 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003938/0.139, allocations: 308.8 kB / 487.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/0.1391, allocations: 50.69 kB / 487.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.472e-05/0.1392, allocations: 28.84 kB / 487.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.1392, allocations: 0 / 487.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001649/0.1394, allocations: 67.33 kB / 487.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.1394, allocations: 0 / 487.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005211/0.1399, allocations: 169.3 kB / 487.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.14, allocations: 55.34 kB / 487.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.1402, allocations: 202.7 kB / 487.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.1402, allocations: 29.7 kB / 487.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.2e-05/0.1402, allocations: 100.1 kB / 488 MB, free: 15.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.834e-05/0.1403, allocations: 19.72 kB / 488 MB, free: 15.03 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.873e-05/0.1403, allocations: 21.7 kB / 488 MB, free: 15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.907e-05/0.1404, allocations: 322.8 kB / 488.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.704e-05/0.1405, allocations: 20 kB / 488.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.778e-05/0.1405, allocations: 33.7 kB / 488.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/0.1407, allocations: 65.7 kB / 488.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-06/0.1407, allocations: 0 / 488.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001829/0.1409, allocations: 105.5 kB / 488.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.1409, allocations: 4 kB / 488.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.1409, allocations: 3.984 kB / 488.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.1409, allocations: 4 kB / 488.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.373e-05/0.141, allocations: 15.94 kB / 488.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.141, allocations: 0 / 488.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.92e-05/0.1411, allocations: 11.97 kB / 488.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.1411, allocations: 7.984 kB / 488.6 MB, free: 14.39 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 9.444e-05/0.1412, allocations: 128.8 kB / 488.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.136e-05/0.1412, allocations: 7.906 kB / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.335e-05/0.1413, allocations: 29.16 kB / 488.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.1413, allocations: 0 / 488.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.1413, allocations: 0 / 488.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.1413, allocations: 3.938 kB / 488.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004176/0.1417, allocations: 399.2 kB / 489.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.1417, allocations: 0 / 489.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.326e-05/0.1418, allocations: 11.98 kB / 489.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.1418, allocations: 3.938 kB / 489.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.1418, allocations: 8 kB / 489.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1418, allocations: 0 / 489.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.1418, allocations: 4.312 kB / 489.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002068/0.142, allocations: 196.3 kB / 489.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.876e-05/0.1421, allocations: 96.91 kB / 489.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.403e-05/0.1421, allocations: 7.938 kB / 489.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.894e-05/0.1422, allocations: 4 kB / 489.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.46e-05/0.1422, allocations: 7.984 kB / 489.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.1422, allocations: 8 kB / 489.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001195/0.1424, allocations: 152.7 kB / 489.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1424, allocations: 4 kB / 489.6 MB, free: 13.24 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002611/0.1426, allocations: 20 kB / 489.6 MB, free: 13.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.001371/0.144, allocations: 1.1 MB / 490.7 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001605/0.1442, allocations: 55.92 kB / 490.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1442, allocations: 0 / 490.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.795e-05/0.1443, allocations: 27.98 kB / 490.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/0.1446, allocations: 28.11 kB / 490.9 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0017/0.1463, allocations: 1.67 MB / 492.5 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000251/0.1466, allocations: 0.7082 MB / 493.2 MB, free: 9.652 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.19e-05/0.1467, allocations: 12.88 kB / 493.2 MB, free: 9.637 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.393e-05/0.1467, allocations: 35.42 kB / 493.3 MB, free: 9.602 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1468, allocations: 0 / 493.3 MB, free: 9.602 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01331/0.1601, allocations: 3.019 MB / 496.3 MB, free: 6.711 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002138/0.1603, allocations: 232.3 kB / 496.5 MB, free: 6.461 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.745/1.906, allocations: 0 / 496.5 MB, free: 6.461 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test27_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test27.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches