Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001476/0.001476, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001906/0.001906, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.406/1.406, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2321/0.2321, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002326/0.002326, allocations: 82.23 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.15, allocations: 62.43 MB / 480.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.004409/0.1545, allocations: 1.948 MB / 482.1 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002116/0.1567, allocations: 1.06 MB / 483.1 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001759/0.1569, allocations: 0 / 483.1 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003803/0.1573, allocations: 47.64 kB / 483.2 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004111/0.1577, allocations: 99.53 kB / 483.3 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003204/0.1581, allocations: 91.66 kB / 483.4 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002512/0.1583, allocations: 151.5 kB / 483.5 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.1585, allocations: 29.55 kB / 483.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.405e-05/0.1586, allocations: 51.73 kB / 483.6 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.1587, allocations: 55.64 kB / 483.7 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.1587, allocations: 4 kB / 483.7 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.1588, allocations: 47.98 kB / 483.7 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.684e-05/0.1589, allocations: 23.92 kB / 483.7 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.73e-05/0.159, allocations: 55.66 kB / 483.8 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002836/0.1593, allocations: 155.7 kB / 483.9 MB, free: 1.367 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1593, allocations: 0 / 483.9 MB, free: 1.367 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1593, allocations: 0 / 483.9 MB, free: 1.367 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.1593, allocations: 0 / 483.9 MB, free: 1.367 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007369/0.16, allocations: 484.4 kB / 484.4 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.1601, allocations: 12.03 kB / 484.4 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.296e-05/0.1601, allocations: 38.73 kB / 484.5 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.595e-05/0.1602, allocations: 16.75 kB / 484.5 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002939/0.1605, allocations: 237.5 kB / 484.7 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.1605, allocations: 4.375 kB / 484.7 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/0.1607, allocations: 11.94 kB / 484.7 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000245/0.1609, allocations: 108.2 kB / 484.8 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.1609, allocations: 0 / 484.8 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.1609, allocations: 4 kB / 484.8 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.161, allocations: 4 kB / 484.8 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001504/0.1611, allocations: 51.91 kB / 484.9 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006582/0.1618, allocations: 0.5048 MB / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000339/0.1621, allocations: 94.59 kB / 485.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.546e-05/0.1622, allocations: 40.83 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.1623, allocations: 7.938 kB / 485.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003283/0.1626, allocations: 79.31 kB / 485.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.502e-06/0.1626, allocations: 4 kB / 485.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004027/0.163, allocations: 149.3 kB / 485.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.1631, allocations: 51.41 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.1633, allocations: 198.2 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.1633, allocations: 25.7 kB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.601e-05/0.1634, allocations: 124 kB / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.819e-05/0.1634, allocations: 23.62 kB / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.099e-05/0.1635, allocations: 33.7 kB / 486.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.1637, allocations: 326.8 kB / 486.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.026e-05/0.1638, allocations: 27.98 kB / 486.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.832e-05/0.1639, allocations: 60.27 kB / 486.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001943/0.1641, allocations: 104.2 kB / 486.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.1641, allocations: 0 / 486.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002586/0.1643, allocations: 137.7 kB / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.1644, allocations: 8.219 kB / 486.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.1644, allocations: 7.938 kB / 486.9 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.1644, allocations: 3.938 kB / 486.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.841e-05/0.1645, allocations: 27.98 kB / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.1645, allocations: 0 / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.574e-05/0.1646, allocations: 11.94 kB / 486.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.1646, allocations: 4 kB / 486.9 MB, free: 14.1 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001207/0.1648, allocations: 137.7 kB / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.5e-05/0.1648, allocations: 11.81 kB / 487.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001176/0.1649, allocations: 25.41 kB / 487.1 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.1649, allocations: 3.938 kB / 487.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.1649, allocations: 4 kB / 487.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.1649, allocations: 3.984 kB / 487.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000183/0.1651, allocations: 213.5 kB / 487.3 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/0.1651, allocations: 4 kB / 487.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.174e-05/0.1652, allocations: 8 kB / 487.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1652, allocations: 0 / 487.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.1653, allocations: 3.984 kB / 487.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.1653, allocations: 7.938 kB / 487.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1653, allocations: 4 kB / 487.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003665/0.1656, allocations: 176.8 kB / 487.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.384e-05/0.1657, allocations: 88.98 kB / 487.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.1658, allocations: 4 kB / 487.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.495e-05/0.1658, allocations: 11.92 kB / 487.6 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.174e-05/0.1659, allocations: 8.047 kB / 487.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.981e-05/0.1659, allocations: 11.94 kB / 487.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002806/0.1662, allocations: 144.4 kB / 487.8 MB, free: 13.15 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1662, allocations: 0 / 487.8 MB, free: 13.15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000392/0.1666, allocations: 24 kB / 487.8 MB, free: 13.12 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.00159/0.1682, allocations: 1.02 MB / 488.8 MB, free: 12.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002716/0.1685, allocations: 83.84 kB / 488.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1685, allocations: 0 / 488.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.1686, allocations: 35.97 kB / 488.9 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.169, allocations: 45.55 kB / 489 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/0.1711, allocations: 1.733 MB / 490.7 MB, free: 10.22 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.1714, allocations: 0.7238 MB / 491.4 MB, free: 9.473 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.194e-05/0.1715, allocations: 21.41 kB / 491.4 MB, free: 9.453 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.1716, allocations: 39.42 kB / 491.5 MB, free: 9.414 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1716, allocations: 0 / 491.5 MB, free: 9.414 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02153/0.1932, allocations: 3.736 MB / 495.2 MB, free: 5.746 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.344/7.538, allocations: 12.84 kB / 495.2 MB, free: 5.742 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches