Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008082/0.0008084, allocations: 92.52 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001068/0.001068, allocations: 205.4 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2379/0.2379, allocations: 46.19 MB / 345.2 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002574/0.0002575, allocations: 12 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1424, allocations: 63.56 MB / 483.2 MB, free: 4.062 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.002206/0.1446, allocations: 1.466 MB / 484.7 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001749/0.1464, allocations: 0.998 MB / 485.7 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.1465, allocations: 0 / 485.7 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003126/0.1468, allocations: 87.81 kB / 485.7 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003434/0.1472, allocations: 99.64 kB / 485.8 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002583/0.1475, allocations: 67.88 kB / 485.9 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002158/0.1477, allocations: 119.7 kB / 486 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.822e-05/0.1478, allocations: 8 kB / 486 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.148, allocations: 51.72 kB / 486.1 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.1481, allocations: 59.75 kB / 486.1 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.1481, allocations: 4 kB / 486.1 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001548/0.1483, allocations: 67.95 kB / 486.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.349e-05/0.1483, allocations: 19.92 kB / 486.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.411e-05/0.1484, allocations: 69.33 kB / 486.3 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002292/0.1486, allocations: 139.8 kB / 486.4 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1487, allocations: 3.984 kB / 486.4 MB, free: 0.793 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1487, allocations: 0 / 486.4 MB, free: 0.793 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.1487, allocations: 0 / 486.4 MB, free: 0.793 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005135/0.1492, allocations: 411 kB / 486.8 MB, free: 352 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.1492, allocations: 16.86 kB / 486.9 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.684e-05/0.1493, allocations: 38.75 kB / 486.9 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.751e-05/0.1493, allocations: 20.69 kB / 486.9 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/0.1496, allocations: 220.7 kB / 487.1 MB, free: 4 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.244e-05/0.1496, allocations: 4.375 kB / 487.1 MB, free: 0 / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.1497, allocations: 11.98 kB / 487.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.1498, allocations: 57.67 kB / 487.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.1498, allocations: 0 / 487.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.1499, allocations: 0 / 487.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.1499, allocations: 3.984 kB / 487.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.149e-05/0.1499, allocations: 23.98 kB / 487.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003947/0.1503, allocations: 308.7 kB / 487.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002087/0.1506, allocations: 66.47 kB / 487.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.131e-05/0.1506, allocations: 16.98 kB / 487.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.1507, allocations: 0 / 487.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001718/0.1508, allocations: 79.36 kB / 487.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.542e-06/0.1508, allocations: 0 / 487.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007401/0.1516, allocations: 244.9 kB / 487.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/0.1516, allocations: 59.28 kB / 488 MB, free: 15.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002399/0.1519, allocations: 238.1 kB / 488.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.1519, allocations: 29.7 kB / 488.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.742e-05/0.152, allocations: 116 kB / 488.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.72e-05/0.152, allocations: 31.56 kB / 488.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.062e-05/0.1521, allocations: 17.7 kB / 488.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.1522, allocations: 326.8 kB / 488.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.901e-05/0.1523, allocations: 27.98 kB / 488.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.191e-05/0.1524, allocations: 45.7 kB / 488.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.1525, allocations: 81.7 kB / 488.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.1525, allocations: 0 / 488.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002224/0.1528, allocations: 133.5 kB / 489 MB, free: 13.97 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.1528, allocations: 4 kB / 489 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.1528, allocations: 0 / 489 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.1528, allocations: 4 kB / 489 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.858e-05/0.1529, allocations: 23.88 kB / 489 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.1529, allocations: 3.984 kB / 489 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.978e-05/0.153, allocations: 4 kB / 489 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.153, allocations: 8.031 kB / 489.1 MB, free: 13.92 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 (13): * Single equations (assignments): 13 * 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.0001084/0.1531, allocations: 133.8 kB / 489.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.656e-05/0.1531, allocations: 15.81 kB / 489.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.314e-05/0.1532, allocations: 13.41 kB / 489.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.1532, allocations: 7.938 kB / 489.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.1532, allocations: 0 / 489.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.1532, allocations: 3.984 kB / 489.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005142/0.1537, allocations: 464 kB / 489.7 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.1537, allocations: 4 kB / 489.7 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.378e-05/0.1538, allocations: 12 kB / 489.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.1538, allocations: 0 / 489.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.1538, allocations: 4 kB / 489.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1538, allocations: 3.938 kB / 489.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1538, allocations: 4 kB / 489.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/0.1541, allocations: 245 kB / 489.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.244e-05/0.1542, allocations: 88.92 kB / 490 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.1542, allocations: 7.984 kB / 490 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.497e-05/0.1543, allocations: 4 kB / 490 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.326e-05/0.1543, allocations: 15.92 kB / 490.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.1543, allocations: 4 kB / 490.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001452/0.1545, allocations: 180.4 kB / 490.2 MB, free: 12.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1545, allocations: 0 / 490.2 MB, free: 12.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000273/0.1548, allocations: 28 kB / 490.3 MB, free: 12.59 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.00165/0.1564, allocations: 1.171 MB / 491.4 MB, free: 11.58 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002022/0.1566, allocations: 79.91 kB / 491.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1567, allocations: 0 / 491.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.515e-05/0.1567, allocations: 39.92 kB / 491.6 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.1571, allocations: 27.92 kB / 491.6 MB, free: 11.44 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002016/0.1591, allocations: 1.867 MB / 493.4 MB, free: 9.477 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.1594, allocations: 0.716 MB / 494.2 MB, free: 8.734 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.913e-05/0.1595, allocations: 16.64 kB / 494.2 MB, free: 8.715 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.866e-05/0.1596, allocations: 43.42 kB / 494.2 MB, free: 8.672 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1596, allocations: 0 / 494.2 MB, free: 8.672 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01298/0.1726, allocations: 3.496 MB / 497.7 MB, free: 5.305 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001917/0.1728, allocations: 241.1 kB / 498 MB, free: 5.047 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.786/1.959, allocations: 0 / 498 MB, free: 5.047 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test35_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches