Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001225/0.001225, allocations: 108.2 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001397/0.001397, allocations: 209.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.449/1.449, allocations: 227.4 MB / 246.4 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2539/0.2539, allocations: 46.1 MB / 343.8 MB, free: 11.74 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 82.84 kB / 417.2 MB, free: 19.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1423, allocations: 62.44 MB / 479.6 MB, free: 5.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.003964/0.1463, allocations: 1.748 MB / 481.4 MB, free: 3.738 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001712/0.1481, allocations: 0.9861 MB / 482.3 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.1482, allocations: 4 kB / 482.3 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003563/0.1485, allocations: 51.81 kB / 482.4 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003472/0.1489, allocations: 79.75 kB / 482.5 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002326/0.1492, allocations: 59.88 kB / 482.5 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001882/0.1494, allocations: 107.7 kB / 482.6 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.571e-05/0.1494, allocations: 4.234 kB / 482.6 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.232e-05/0.1495, allocations: 47.72 kB / 482.7 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.477e-05/0.1496, allocations: 31.84 kB / 482.7 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.1496, allocations: 4 kB / 482.7 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.1497, allocations: 31.98 kB / 482.8 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.661e-05/0.1498, allocations: 35.84 kB / 482.8 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.246e-05/0.1499, allocations: 47.61 kB / 482.8 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002094/0.1501, allocations: 119.8 kB / 483 MB, free: 2.133 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.1501, allocations: 8 kB / 483 MB, free: 2.125 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.043e-06/0.1501, allocations: 7.984 kB / 483 MB, free: 2.117 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.104e-06/0.1501, allocations: 0 / 483 MB, free: 2.117 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005717/0.1507, allocations: 430.7 kB / 483.4 MB, free: 1.648 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.1508, allocations: 12.03 kB / 483.4 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.292e-05/0.1508, allocations: 30.75 kB / 483.4 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.295e-05/0.1509, allocations: 16.78 kB / 483.4 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00026/0.1512, allocations: 216.9 kB / 483.7 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.1512, allocations: 4.375 kB / 483.7 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.1512, allocations: 11.94 kB / 483.7 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.1514, allocations: 49.61 kB / 483.7 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.1514, allocations: 0 / 483.7 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.1514, allocations: 4 kB / 483.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.1514, allocations: 0 / 483.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.87e-05/0.1515, allocations: 15.98 kB / 483.7 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002075/0.1517, allocations: 193.7 kB / 483.9 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001639/0.1519, allocations: 54.56 kB / 484 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.602e-05/0.1519, allocations: 24.78 kB / 484 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.152, allocations: 7.938 kB / 484 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001931/0.1522, allocations: 63.39 kB / 484.1 MB, free: 0.832 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.433e-06/0.1522, allocations: 0 / 484.1 MB, free: 0.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002938/0.1525, allocations: 97.48 kB / 484.2 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.1525, allocations: 59.34 kB / 484.2 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002487/0.1528, allocations: 267 kB / 484.5 MB, free: 396 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.1528, allocations: 25.7 kB / 484.5 MB, free: 364 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.45e-05/0.1529, allocations: 112.1 kB / 484.6 MB, free: 248 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.494e-05/0.1529, allocations: 15.89 kB / 484.6 MB, free: 232 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.253e-05/0.153, allocations: 17.72 kB / 484.7 MB, free: 208 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.1531, allocations: 322.8 kB / 485 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.077e-05/0.1532, allocations: 15.98 kB / 485 MB, free: 15.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.045e-05/0.1532, allocations: 37.7 kB / 485 MB, free: 15.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.133e-05/0.1533, allocations: 37.72 kB / 485.1 MB, free: 15.78 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.1533, allocations: 3.938 kB / 485.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001532/0.1535, allocations: 89.42 kB / 485.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.1535, allocations: 4 kB / 485.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.1535, allocations: 4 kB / 485.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.1536, allocations: 4.031 kB / 485.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.718e-05/0.1537, allocations: 8 kB / 485.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.1537, allocations: 0 / 485.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.314e-05/0.1537, allocations: 15.83 kB / 485.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.1538, allocations: 3.938 kB / 485.2 MB, free: 15.64 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 (7): * Single equations (assignments): 7 * 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.0001087/0.1539, allocations: 137.8 kB / 485.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/0.1539, allocations: 11.91 kB / 485.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.05e-05/0.154, allocations: 17 kB / 485.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.154, allocations: 0 / 485.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.154, allocations: 4.312 kB / 485.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.154, allocations: 3.984 kB / 485.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001658/0.1542, allocations: 213.5 kB / 485.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1542, allocations: 3.938 kB / 485.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.903e-05/0.1542, allocations: 0 / 485.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.1542, allocations: 4 kB / 485.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-06/0.1542, allocations: 0 / 485.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1542, allocations: 0 / 485.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.1542, allocations: 0 / 485.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000188/0.1544, allocations: 132.7 kB / 485.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.1545, allocations: 85.02 kB / 485.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.1546, allocations: 0 / 485.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.728e-05/0.1546, allocations: 3.984 kB / 485.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.976e-05/0.1546, allocations: 4 kB / 485.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.1546, allocations: 0 / 485.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001862/0.1548, allocations: 212.4 kB / 486 MB, free: 14.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1548, allocations: 0 / 486 MB, free: 14.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002171/0.1551, allocations: 12 kB / 486 MB, free: 14.72 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001312/0.1564, allocations: 0.9495 MB / 487 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001625/0.1566, allocations: 39.92 kB / 487 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1566, allocations: 0 / 487 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.87e-05/0.1566, allocations: 27.98 kB / 487 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.1569, allocations: 30.98 kB / 487.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00197/0.1589, allocations: 1.694 MB / 488.8 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.1592, allocations: 0.7166 MB / 489.5 MB, free: 11.26 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.584e-05/0.1593, allocations: 12.55 kB / 489.5 MB, free: 11.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.766e-05/0.1593, allocations: 39.42 kB / 489.5 MB, free: 11.21 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1594, allocations: 0 / 489.5 MB, free: 11.21 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01384/0.1732, allocations: 3.308 MB / 492.8 MB, free: 8.004 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000323/0.1736, allocations: 234.2 kB / 493.1 MB, free: 7.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.907/2.08, allocations: 0 / 493.1 MB, free: 7.75 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches