Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00154/0.00154, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002008/0.002008, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 227.4 MB / 246.8 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2382/0.2382, allocations: 46.1 MB / 344.1 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001692, allocations: 82.03 kB / 417.7 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1358, allocations: 62.44 MB / 480.1 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.004916/0.1408, allocations: 1.731 MB / 481.9 MB, free: 3.379 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002697/0.1435, allocations: 1.017 MB / 482.9 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.1436, allocations: 0 / 482.9 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003699/0.1441, allocations: 39.77 kB / 482.9 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005102/0.1446, allocations: 99.53 kB / 483 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003621/0.145, allocations: 79.66 kB / 483.1 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000246/0.1452, allocations: 103.7 kB / 483.2 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.1454, allocations: 11.98 kB / 483.2 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.1455, allocations: 47.78 kB / 483.3 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.424e-05/0.1456, allocations: 27.8 kB / 483.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.1456, allocations: 4 kB / 483.3 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.1458, allocations: 43.98 kB / 483.3 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.111e-05/0.1458, allocations: 23.91 kB / 483.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.645e-05/0.1459, allocations: 31.81 kB / 483.4 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002271/0.1461, allocations: 115.8 kB / 483.5 MB, free: 1.738 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.1461, allocations: 4 kB / 483.5 MB, free: 1.734 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1461, allocations: 0 / 483.5 MB, free: 1.734 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.1462, allocations: 0 / 483.5 MB, free: 1.734 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.0005986/0.1468, allocations: 411 kB / 483.9 MB, free: 1.285 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.1468, allocations: 12.03 kB / 483.9 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.891e-05/0.1469, allocations: 30.75 kB / 483.9 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.202e-05/0.1469, allocations: 16.73 kB / 484 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002805/0.1472, allocations: 208.1 kB / 484.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.1472, allocations: 384 / 484.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.778e-05/0.1473, allocations: 15.92 kB / 484.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.1474, allocations: 57.61 kB / 484.2 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.1475, allocations: 0 / 484.2 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.1475, allocations: 0 / 484.2 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.1475, allocations: 0 / 484.2 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.564e-05/0.1476, allocations: 19.98 kB / 484.3 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004223/0.148, allocations: 284.9 kB / 484.5 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001857/0.1482, allocations: 58.62 kB / 484.6 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.674e-05/0.1483, allocations: 20.84 kB / 484.6 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.1483, allocations: 4 kB / 484.6 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002555/0.1486, allocations: 63.39 kB / 484.7 MB, free: 392 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.733e-06/0.1486, allocations: 0 / 484.7 MB, free: 392 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006274/0.1492, allocations: 177.2 kB / 484.9 MB, free: 208 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.1493, allocations: 55.41 kB / 484.9 MB, free: 140 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002288/0.1495, allocations: 183.3 kB / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.1496, allocations: 33.64 kB / 485.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.831e-05/0.1497, allocations: 104 kB / 485.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.399e-05/0.1497, allocations: 35.56 kB / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.292e-05/0.1498, allocations: 17.72 kB / 485.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.1499, allocations: 326.8 kB / 485.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.454e-05/0.15, allocations: 23.98 kB / 485.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.4e-05/0.1501, allocations: 37.64 kB / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.1502, allocations: 65.77 kB / 485.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1502, allocations: 384 / 485.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002157/0.1505, allocations: 93.53 kB / 485.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.1505, allocations: 4 kB / 485.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1505, allocations: 8.031 kB / 485.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.1505, allocations: 4 kB / 485.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.666e-05/0.1506, allocations: 15.98 kB / 485.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.1506, allocations: 0 / 485.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.452e-05/0.1507, allocations: 11.94 kB / 485.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.1507, allocations: 7.984 kB / 485.9 MB, free: 15.13 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.0001061/0.1508, allocations: 125.8 kB / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.731e-05/0.1509, allocations: 11.81 kB / 486 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.022e-05/0.1509, allocations: 21.41 kB / 486 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.1509, allocations: 4 kB / 486 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.507e-05/0.151, allocations: 3.984 kB / 486 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.151, allocations: 3.938 kB / 486 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004751/0.1514, allocations: 387.3 kB / 486.4 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1515, allocations: 0 / 486.4 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.126e-05/0.1515, allocations: 8 kB / 486.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/0.1515, allocations: 7.938 kB / 486.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.1515, allocations: 8.016 kB / 486.4 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1515, allocations: 0 / 486.4 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1516, allocations: 0 / 486.4 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002345/0.1518, allocations: 200.2 kB / 486.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.923e-05/0.1519, allocations: 88.92 kB / 486.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.1519, allocations: 7.938 kB / 486.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.706e-05/0.152, allocations: 0 / 486.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.987e-05/0.152, allocations: 11.98 kB / 486.7 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.945e-05/0.152, allocations: 8 kB / 486.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001262/0.1522, allocations: 143.9 kB / 486.9 MB, free: 14 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1522, allocations: 0 / 486.9 MB, free: 14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002805/0.1525, allocations: 24.19 kB / 486.9 MB, free: 13.98 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.001523/0.154, allocations: 1.095 MB / 488 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000218/0.1542, allocations: 59.92 kB / 488.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/0.1542, allocations: 4 kB / 488.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.03e-05/0.1543, allocations: 23.98 kB / 488.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003646/0.1547, allocations: 38.77 kB / 488.1 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00205/0.1568, allocations: 1.63 MB / 489.7 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000346/0.1571, allocations: 0.7002 MB / 490.4 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.786e-05/0.1572, allocations: 21.19 kB / 490.5 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.149e-05/0.1573, allocations: 35.42 kB / 490.5 MB, free: 10.4 MB / 366.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1573, allocations: 0 / 490.5 MB, free: 10.4 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02104/0.1783, allocations: 3.313 MB / 493.8 MB, free: 7.164 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.374/7.552, allocations: 15.86 kB / 493.8 MB, free: 7.148 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test15_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test15.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches