Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001034/0.001034, allocations: 103.9 kB / 17.63 MB, free: 5.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001142/0.001142, allocations: 206.5 kB / 18.58 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2365/0.2365, allocations: 46.1 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 78.91 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1396, allocations: 62.43 MB / 480.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003847/0.1435, allocations: 1.929 MB / 482.1 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001983/0.1455, allocations: 1.123 MB / 483.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.1457, allocations: 7.938 kB / 483.2 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005623/0.1463, allocations: 251.3 kB / 483.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004776/0.1468, allocations: 231.2 kB / 483.7 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002768/0.1471, allocations: 115.6 kB / 483.8 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003209/0.1474, allocations: 271.3 kB / 484 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.1476, allocations: 33.66 kB / 484.1 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001688/0.1477, allocations: 131.5 kB / 484.2 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002308/0.148, allocations: 191.4 kB / 484.4 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.772e-05/0.148, allocations: 8 kB / 484.4 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001339/0.1481, allocations: 59.98 kB / 484.5 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.363e-05/0.1482, allocations: 71.69 kB / 484.5 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.82e-05/0.1483, allocations: 91.23 kB / 484.6 MB, free: 0.668 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003053/0.1487, allocations: 251.4 kB / 484.9 MB, free: 432 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1487, allocations: 0 / 484.9 MB, free: 432 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1487, allocations: 0 / 484.9 MB, free: 432 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.1487, allocations: 3.938 kB / 484.9 MB, free: 428 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000817/0.1495, allocations: 0.5913 MB / 485.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.1496, allocations: 12.03 kB / 485.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.218e-05/0.1496, allocations: 38.73 kB / 485.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.994e-05/0.1497, allocations: 32.56 kB / 485.5 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002978/0.15, allocations: 286.4 kB / 485.8 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.15, allocations: 4.375 kB / 485.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.156e-05/0.15, allocations: 11.94 kB / 485.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000231/0.1503, allocations: 115.3 kB / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.1503, allocations: 3.906 kB / 485.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.1503, allocations: 4 kB / 486 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.1503, allocations: 0 / 486 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.1505, allocations: 47.95 kB / 486 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005461/0.151, allocations: 492.6 kB / 486.5 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003576/0.1514, allocations: 117.2 kB / 486.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.438e-05/0.1515, allocations: 45.83 kB / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.1515, allocations: 3.984 kB / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002695/0.1518, allocations: 121.2 kB / 486.8 MB, free: 14.31 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.1518, allocations: 0 / 486.8 MB, free: 14.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001274/0.1531, allocations: 0.5121 MB / 487.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.65e-05/0.1532, allocations: 85.09 kB / 487.4 MB, free: 13.69 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004849/0.1537, allocations: 493.7 kB / 487.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.1537, allocations: 37.69 kB / 487.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.1538, allocations: 168.5 kB / 488 MB, free: 12.99 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.222e-05/0.1539, allocations: 67 kB / 488.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.196e-05/0.154, allocations: 41.72 kB / 488.1 MB, free: 12.88 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.1541, allocations: 346.8 kB / 488.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.1542, allocations: 55.97 kB / 488.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.1544, allocations: 95.41 kB / 488.6 MB, free: 12.37 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002533/0.1546, allocations: 163.2 kB / 488.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.1546, allocations: 0 / 488.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000373/0.155, allocations: 241 kB / 489 MB, free: 11.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.155, allocations: 6.344 kB / 489 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.1551, allocations: 0 / 489 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.1551, allocations: 7.984 kB / 489 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.1552, allocations: 43.92 kB / 489.1 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.1552, allocations: 4.234 kB / 489.1 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.561e-05/0.1553, allocations: 4 kB / 489.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.43e-05/0.1554, allocations: 15.98 kB / 489.1 MB, free: 11.88 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.000174/0.1555, allocations: 177.8 kB / 489.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.464e-05/0.1556, allocations: 39.56 kB / 489.3 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.805e-05/0.1557, allocations: 42.88 kB / 489.4 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.1557, allocations: 7.938 kB / 489.4 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1557, allocations: 0 / 489.4 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.1557, allocations: 3.984 kB / 489.4 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008813/0.1566, allocations: 0.7389 MB / 490.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1566, allocations: 0 / 490.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.956e-05/0.1567, allocations: 35.92 kB / 490.1 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.1567, allocations: 4 kB / 490.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.1567, allocations: 8 kB / 490.2 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1568, allocations: 0 / 490.2 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.1568, allocations: 8.062 kB / 490.2 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004638/0.1572, allocations: 425.6 kB / 490.6 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.287e-05/0.1573, allocations: 104.7 kB / 490.7 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.431e-05/0.1574, allocations: 15.98 kB / 490.7 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.1575, allocations: 7.938 kB / 490.7 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.676e-05/0.1576, allocations: 23.86 kB / 490.7 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-05/0.1576, allocations: 11.98 kB / 490.7 MB, free: 10.11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003316/0.1579, allocations: 375.1 kB / 491.1 MB, free: 9.742 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1579, allocations: 0 / 491.1 MB, free: 9.742 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000343/0.1583, allocations: 48 kB / 491.2 MB, free: 9.695 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001883/0.1602, allocations: 1.367 MB / 492.5 MB, free: 8.477 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003485/0.1605, allocations: 171.6 kB / 492.7 MB, free: 8.309 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1606, allocations: 0 / 492.7 MB, free: 8.309 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001523/0.1607, allocations: 79.84 kB / 492.8 MB, free: 8.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005494/0.1613, allocations: 69.86 kB / 492.8 MB, free: 8.176 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003426/0.1647, allocations: 3.006 MB / 495.8 MB, free: 5.043 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/0.1651, allocations: 0.7947 MB / 496.6 MB, free: 4.223 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001175/0.1652, allocations: 45.91 kB / 496.7 MB, free: 4.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.1653, allocations: 99.39 kB / 496.8 MB, free: 4.082 MB / 366.1 MB Notification: Performance of SimCode: time 1.472e-06/0.1653, allocations: 0 / 496.8 MB, free: 4.082 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02597/0.1913, allocations: 6.534 MB / 0.4915 GB, free: 13.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.316/7.507, allocations: 14.03 kB / 0.4915 GB, free: 13.62 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test74_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches