Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007089/0.0007089, allocations: 97.03 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009236/0.0009237, allocations: 206.6 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 227.7 MB / 246.8 MB, free: 11.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2447/0.2447, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003114/0.0003114, allocations: 12.28 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1502, allocations: 63.56 MB / 483.2 MB, free: 4.059 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.002458/0.1527, allocations: 1.45 MB / 484.6 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001925/0.1547, allocations: 0.9902 MB / 485.6 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001369/0.1548, allocations: 0 / 485.6 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003421/0.1552, allocations: 35.84 kB / 485.7 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003818/0.1556, allocations: 75.73 kB / 485.7 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003439/0.156, allocations: 71.81 kB / 485.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000238/0.1562, allocations: 95.69 kB / 485.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.1563, allocations: 12 kB / 485.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.1565, allocations: 39.78 kB / 485.9 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.674e-05/0.1566, allocations: 35.78 kB / 486 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.1566, allocations: 0 / 486 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001582/0.1568, allocations: 39.94 kB / 486 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.748e-05/0.1568, allocations: 19.91 kB / 486 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.83e-05/0.1569, allocations: 65.44 kB / 486.1 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002435/0.1572, allocations: 111.9 kB / 486.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1572, allocations: 4 kB / 486.2 MB, free: 1 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1572, allocations: 0 / 486.2 MB, free: 1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.1572, allocations: 0 / 486.2 MB, free: 1 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.0005994/0.1578, allocations: 399.1 kB / 486.6 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.1579, allocations: 8.875 kB / 486.6 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.924e-05/0.1579, allocations: 42.73 kB / 486.7 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.122e-05/0.158, allocations: 12.78 kB / 486.7 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002816/0.1583, allocations: 218.6 kB / 486.9 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.1583, allocations: 4.312 kB / 486.9 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.1583, allocations: 11.94 kB / 486.9 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.1585, allocations: 49.67 kB / 486.9 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.1585, allocations: 0 / 486.9 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.1586, allocations: 4 kB / 487 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.1586, allocations: 0 / 487 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.929e-05/0.1587, allocations: 19.98 kB / 487 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004488/0.1591, allocations: 292.7 kB / 487.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.1593, allocations: 62.66 kB / 487.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.574e-05/0.1594, allocations: 16.86 kB / 487.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.1594, allocations: 4 kB / 487.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001869/0.1596, allocations: 75.31 kB / 487.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.804e-06/0.1596, allocations: 0 / 487.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005886/0.1602, allocations: 165.2 kB / 487.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/0.1603, allocations: 55.41 kB / 487.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.1605, allocations: 198.7 kB / 487.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.1605, allocations: 29.7 kB / 487.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.427e-05/0.1606, allocations: 100.1 kB / 487.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.925e-05/0.1606, allocations: 27.69 kB / 488 MB, free: 15.03 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.874e-05/0.1607, allocations: 17.72 kB / 488 MB, free: 15.01 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.1608, allocations: 322.8 kB / 488.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.737e-05/0.1609, allocations: 23.98 kB / 488.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.706e-05/0.1609, allocations: 33.7 kB / 488.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.1611, allocations: 65.72 kB / 488.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1611, allocations: 0 / 488.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001915/0.1613, allocations: 101.5 kB / 488.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.1613, allocations: 8 kB / 488.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.1613, allocations: 0 / 488.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.1613, allocations: 384 / 488.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.325e-05/0.1614, allocations: 19.92 kB / 488.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.43e-05/0.1615, allocations: 4 kB / 488.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.742e-05/0.1615, allocations: 11.94 kB / 488.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.1615, allocations: 4 kB / 488.6 MB, free: 14.4 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.0001125/0.1617, allocations: 128.2 kB / 488.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.1617, allocations: 11.91 kB / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.826e-05/0.1617, allocations: 13.59 kB / 488.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1617, allocations: 3.938 kB / 488.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1618, allocations: 3.938 kB / 488.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.1618, allocations: 7.938 kB / 488.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004823/0.1623, allocations: 399.2 kB / 489.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1623, allocations: 4.031 kB / 489.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.149e-05/0.1623, allocations: 8 kB / 489.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.047e-05/0.1623, allocations: 7.938 kB / 489.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.699e-06/0.1623, allocations: 0 / 489.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.1624, allocations: 7.922 kB / 489.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1624, allocations: 0 / 489.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/0.1626, allocations: 204.3 kB / 489.4 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.93e-05/0.1627, allocations: 92.92 kB / 489.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.145e-05/0.1628, allocations: 3.938 kB / 489.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.506e-05/0.1629, allocations: 11.98 kB / 489.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.249e-05/0.1629, allocations: 0 / 489.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.1629, allocations: 4 kB / 489.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001455/0.1631, allocations: 152.7 kB / 489.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1631, allocations: 0 / 489.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002762/0.1634, allocations: 31.98 kB / 489.6 MB, free: 13.22 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.001599/0.165, allocations: 1.093 MB / 490.7 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000192/0.1652, allocations: 59.91 kB / 490.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1652, allocations: 0 / 490.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.172e-05/0.1653, allocations: 24 kB / 490.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003592/0.1656, allocations: 27.97 kB / 490.9 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001983/0.1676, allocations: 1.67 MB / 492.5 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.168, allocations: 0.7082 MB / 493.2 MB, free: 9.656 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.338e-05/0.168, allocations: 21.12 kB / 493.2 MB, free: 9.633 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.049e-05/0.1681, allocations: 35.42 kB / 493.3 MB, free: 9.598 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1681, allocations: 4 kB / 493.3 MB, free: 9.594 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01509/0.1832, allocations: 3.014 MB / 496.3 MB, free: 6.711 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002047/0.1835, allocations: 233.3 kB / 496.5 MB, free: 6.457 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.725/1.909, allocations: 0 / 496.5 MB, free: 6.457 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test32_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test32.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches