Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008111/0.000811, allocations: 97.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.0008985/0.0008985, allocations: 206 kB / 18.28 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.35/1.35, allocations: 227.7 MB / 246.8 MB, free: 11.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2038/0.2038, allocations: 46.18 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000301/0.000301, allocations: 12 kB / 419.6 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1356, allocations: 63.56 MB / 483.2 MB, free: 4.066 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.002397/0.138, allocations: 1.446 MB / 484.6 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001842/0.1399, allocations: 0.998 MB / 485.6 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.14, allocations: 0 / 485.6 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003404/0.1404, allocations: 47.81 kB / 485.7 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003522/0.1407, allocations: 87.72 kB / 485.8 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002697/0.141, allocations: 63.83 kB / 485.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002131/0.1412, allocations: 103.7 kB / 485.9 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.1414, allocations: 8 kB / 485.9 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.1415, allocations: 47.78 kB / 486 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.327e-05/0.1416, allocations: 39.7 kB / 486 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.1416, allocations: 4 kB / 486 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.1417, allocations: 40 kB / 486.1 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.642e-05/0.1418, allocations: 27.91 kB / 486.1 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.648e-05/0.1419, allocations: 73.31 kB / 486.2 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.1421, allocations: 131.8 kB / 486.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1422, allocations: 0 / 486.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1422, allocations: 0 / 486.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.1422, allocations: 3.938 kB / 486.3 MB, free: 0.9336 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.0006253/0.1428, allocations: 430.8 kB / 486.7 MB, free: 476 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.1429, allocations: 20.86 kB / 486.7 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.361e-05/0.1429, allocations: 34.75 kB / 486.8 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.751e-05/0.143, allocations: 16.75 kB / 486.8 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000266/0.1432, allocations: 219.9 kB / 487 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.1433, allocations: 4.375 kB / 487 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.489e-05/0.1433, allocations: 11.94 kB / 487 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.1435, allocations: 53.67 kB / 487.1 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.1435, allocations: 0 / 487.1 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.1435, allocations: 0 / 487.1 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.1435, allocations: 4 kB / 487.1 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.131e-05/0.1436, allocations: 23.92 kB / 487.1 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003832/0.144, allocations: 300.8 kB / 487.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.1441, allocations: 54.67 kB / 487.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.209e-05/0.1442, allocations: 20.86 kB / 487.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.1442, allocations: 7.984 kB / 487.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001658/0.1444, allocations: 67.33 kB / 487.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.633e-06/0.1444, allocations: 0 / 487.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005336/0.145, allocations: 185 kB / 487.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.145, allocations: 55.41 kB / 487.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002856/0.1453, allocations: 288.2 kB / 488.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.1453, allocations: 29.7 kB / 488.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.742e-05/0.1454, allocations: 116.1 kB / 488.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.484e-05/0.1455, allocations: 27.64 kB / 488.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.646e-05/0.1455, allocations: 17.72 kB / 488.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.1456, allocations: 322.8 kB / 488.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.903e-05/0.1457, allocations: 23.98 kB / 488.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.401e-05/0.1458, allocations: 33.7 kB / 488.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.1459, allocations: 65.64 kB / 488.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.1459, allocations: 4 kB / 488.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002073/0.1461, allocations: 97.5 kB / 488.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.1461, allocations: 4 kB / 488.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1462, allocations: 3.938 kB / 488.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.1462, allocations: 0 / 488.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.998e-05/0.1463, allocations: 23.92 kB / 488.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.1463, allocations: 192 / 488.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.233e-05/0.1463, allocations: 11.97 kB / 488.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.1464, allocations: 7.938 kB / 488.8 MB, free: 14.15 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 0.0001183/0.1465, allocations: 136.1 kB / 489 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.555e-05/0.1465, allocations: 19.72 kB / 489 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.557e-05/0.1466, allocations: 21.39 kB / 489 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.1466, allocations: 0 / 489 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.1466, allocations: 4 kB / 489 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.1466, allocations: 3.938 kB / 489 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004239/0.147, allocations: 411.5 kB / 489.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.147, allocations: 384 / 489.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.454e-05/0.1471, allocations: 15.92 kB / 489.4 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.1471, allocations: 11.94 kB / 489.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.1471, allocations: 0 / 489.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1471, allocations: 0 / 489.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1471, allocations: 0 / 489.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002278/0.1473, allocations: 212.2 kB / 489.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.231e-05/0.1474, allocations: 96.91 kB / 489.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.501e-05/0.1474, allocations: 7.938 kB / 489.7 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.844e-05/0.1475, allocations: 0 / 489.7 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.267e-05/0.1476, allocations: 7.984 kB / 489.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.1476, allocations: 4 kB / 489.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001821/0.1478, allocations: 216.6 kB / 490 MB, free: 12.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1478, allocations: 7.938 kB / 490 MB, free: 12.9 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002514/0.148, allocations: 20 kB / 490 MB, free: 12.88 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.001431/0.1495, allocations: 1.091 MB / 491.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001698/0.1496, allocations: 51.92 kB / 491.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1497, allocations: 0 / 491.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.198e-05/0.1497, allocations: 39.91 kB / 491.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000343/0.1501, allocations: 23.98 kB / 491.2 MB, free: 11.81 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002007/0.1521, allocations: 1.878 MB / 493.1 MB, free: 9.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.1524, allocations: 0.7238 MB / 493.8 MB, free: 9.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.527e-05/0.1525, allocations: 16.88 kB / 493.8 MB, free: 9.074 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.229e-05/0.1526, allocations: 47.41 kB / 493.9 MB, free: 9.027 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1526, allocations: 0 / 493.9 MB, free: 9.027 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.201/1.354, allocations: 3.389 MB / 497.3 MB, free: 5.754 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002335/1.354, allocations: 231.7 kB / 497.5 MB, free: 5.504 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.149/3.503, allocations: 0 / 497.5 MB, free: 5.504 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches