Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001275/0.001275, allocations: 109.2 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00149/0.00149, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 227.4 MB / 246.3 MB, free: 9.027 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2482/0.2482, allocations: 46.1 MB / 343.6 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001693/0.001693, allocations: 80.11 kB / 417 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1363, allocations: 62.45 MB / 479.4 MB, free: 5.586 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.003681/0.14, allocations: 1.789 MB / 481.2 MB, free: 3.781 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001783/0.1418, allocations: 1.017 MB / 482.2 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.142, allocations: 4 kB / 482.2 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003356/0.1423, allocations: 43.75 kB / 482.3 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003195/0.1427, allocations: 87.72 kB / 482.3 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002357/0.1429, allocations: 67.81 kB / 482.4 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001979/0.1431, allocations: 99.75 kB / 482.5 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.1432, allocations: 7.984 kB / 482.5 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.1433, allocations: 43.78 kB / 482.6 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.145e-05/0.1434, allocations: 43.72 kB / 482.6 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.1435, allocations: 4 kB / 482.6 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001198/0.1436, allocations: 39.98 kB / 482.6 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.197e-05/0.1437, allocations: 15.92 kB / 482.7 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.978e-05/0.1438, allocations: 51.66 kB / 482.7 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002164/0.144, allocations: 119.9 kB / 482.8 MB, free: 2.141 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.144, allocations: 7.938 kB / 482.8 MB, free: 2.133 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.144, allocations: 0 / 482.8 MB, free: 2.133 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.345e-06/0.144, allocations: 0 / 482.8 MB, free: 2.133 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.0006058/0.1446, allocations: 422.9 kB / 483.2 MB, free: 1.672 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.1447, allocations: 12.81 kB / 483.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.003e-05/0.1447, allocations: 38.73 kB / 483.3 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.86e-05/0.1448, allocations: 12.84 kB / 483.3 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000332/0.1451, allocations: 224.8 kB / 483.5 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.1452, allocations: 384 / 483.5 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.082e-05/0.1452, allocations: 3.938 kB / 483.5 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.1454, allocations: 57.67 kB / 483.6 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.1454, allocations: 0 / 483.6 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.1454, allocations: 0 / 483.6 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.1454, allocations: 0 / 483.6 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.151e-05/0.1455, allocations: 31.92 kB / 483.6 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003772/0.1459, allocations: 296.7 kB / 483.9 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.1461, allocations: 58.67 kB / 484 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.689e-05/0.1461, allocations: 20.84 kB / 484 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.1462, allocations: 0 / 484 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002108/0.1464, allocations: 71.33 kB / 484.1 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.866e-06/0.1464, allocations: 4 kB / 484.1 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005807/0.147, allocations: 177 kB / 484.2 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.147, allocations: 51.41 kB / 484.3 MB, free: 496 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002372/0.1473, allocations: 243 kB / 484.5 MB, free: 244 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.1473, allocations: 29.7 kB / 484.5 MB, free: 208 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.483e-05/0.1474, allocations: 108.1 kB / 484.6 MB, free: 96 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.687e-05/0.1474, allocations: 31.58 kB / 484.7 MB, free: 64 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.797e-05/0.1475, allocations: 25.7 kB / 484.7 MB, free: 32 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.1476, allocations: 326.8 kB / 485 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.256e-05/0.1477, allocations: 19.98 kB / 485 MB, free: 15.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.961e-05/0.1478, allocations: 33.7 kB / 485.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.1479, allocations: 61.66 kB / 485.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1479, allocations: 0 / 485.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002053/0.1481, allocations: 109.5 kB / 485.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.1482, allocations: 4 kB / 485.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.1482, allocations: 0 / 485.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.1482, allocations: 3.938 kB / 485.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.481e-05/0.1483, allocations: 19.98 kB / 485.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.1483, allocations: 0 / 485.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.042e-05/0.1484, allocations: 3.938 kB / 485.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-06/0.1484, allocations: 4 kB / 485.3 MB, free: 15.43 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.0001164/0.1485, allocations: 133.9 kB / 485.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.051e-05/0.1485, allocations: 11.91 kB / 485.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.336e-05/0.1486, allocations: 13.41 kB / 485.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1486, allocations: 4 kB / 485.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.1486, allocations: 3.984 kB / 485.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.1486, allocations: 3.938 kB / 485.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004837/0.1491, allocations: 407.4 kB / 485.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1491, allocations: 4.406 kB / 485.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.045e-05/0.1492, allocations: 15.92 kB / 485.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.1492, allocations: 3.938 kB / 485.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.1492, allocations: 4 kB / 485.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.1492, allocations: 4 kB / 485.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.1492, allocations: 0 / 485.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002335/0.1495, allocations: 200.3 kB / 486.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.181e-05/0.1495, allocations: 92.92 kB / 486.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.104e-05/0.1496, allocations: 7.922 kB / 486.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.208e-05/0.1496, allocations: 7.938 kB / 486.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.386e-05/0.1497, allocations: 11.98 kB / 486.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.1497, allocations: 3.984 kB / 486.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001624/0.1499, allocations: 172.4 kB / 486.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.685e-06/0.1499, allocations: 0 / 486.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002694/0.1502, allocations: 28.11 kB / 486.4 MB, free: 14.21 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.001495/0.1517, allocations: 1.09 MB / 487.5 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001775/0.1519, allocations: 59.91 kB / 487.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.1519, allocations: 0 / 487.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.253e-05/0.152, allocations: 27.94 kB / 487.6 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.0003478/0.1523, allocations: 35.91 kB / 487.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/0.1542, allocations: 1.746 MB / 489.3 MB, free: 11.31 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/0.1545, allocations: 0.72 MB / 490.1 MB, free: 10.56 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.167e-05/0.1545, allocations: 12.88 kB / 490.1 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.715e-05/0.1546, allocations: 43.41 kB / 490.1 MB, free: 10.51 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1546, allocations: 0 / 490.1 MB, free: 10.51 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.014/0.1686, allocations: 3.348 MB / 493.5 MB, free: 7.254 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002023/0.1689, allocations: 241.9 kB / 493.7 MB, free: 6.992 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.894/2.062, allocations: 0 / 493.7 MB, free: 6.992 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test52_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test52.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches