Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001442/0.001442, 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.001921/0.001921, 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.383/1.383, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2307/0.2307, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002771/0.002771, allocations: 81.23 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.1678, allocations: 62.43 MB / 480.1 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.004112/0.172, allocations: 1.944 MB / 482.1 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001926/0.174, allocations: 1.052 MB / 483.1 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001523/0.1741, allocations: 4 kB / 483.1 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004081/0.1746, allocations: 47.7 kB / 483.2 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004232/0.175, allocations: 103.5 kB / 483.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003395/0.1754, allocations: 91.64 kB / 483.4 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002866/0.1757, allocations: 143.6 kB / 483.5 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.1759, allocations: 33.48 kB / 483.5 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.176, allocations: 55.78 kB / 483.6 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.1761, allocations: 47.66 kB / 483.6 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.561e-05/0.1762, allocations: 8 kB / 483.6 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.1763, allocations: 51.97 kB / 483.7 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.825e-05/0.1764, allocations: 23.86 kB / 483.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.883e-05/0.1765, allocations: 51.67 kB / 483.8 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003007/0.1768, allocations: 151.7 kB / 483.9 MB, free: 1.402 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1768, allocations: 7.938 kB / 483.9 MB, free: 1.395 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1768, allocations: 0 / 483.9 MB, free: 1.395 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.1768, allocations: 0 / 483.9 MB, free: 1.395 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.0007979/0.1776, allocations: 488.5 kB / 484.4 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/0.1777, allocations: 8.031 kB / 484.4 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.131e-05/0.1777, allocations: 42.73 kB / 484.5 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.704e-05/0.1778, allocations: 12.75 kB / 484.5 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003305/0.1782, allocations: 237.5 kB / 484.7 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.87e-05/0.1782, allocations: 4.375 kB / 484.7 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.745e-05/0.1782, allocations: 15.94 kB / 484.7 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002608/0.1785, allocations: 106.5 kB / 484.8 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.1785, allocations: 0 / 484.8 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.1785, allocations: 8 kB / 484.8 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.1785, allocations: 0 / 484.8 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001655/0.1787, allocations: 47.97 kB / 484.9 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00075/0.1795, allocations: 0.5126 MB / 485.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003618/0.1798, allocations: 94.59 kB / 485.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.18, allocations: 40.83 kB / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.889e-05/0.18, allocations: 0 / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000264/0.1803, allocations: 75.38 kB / 485.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.713e-06/0.1803, allocations: 4 kB / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004454/0.1808, allocations: 149.3 kB / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.1808, allocations: 51.41 kB / 485.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002072/0.181, allocations: 198.2 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.1811, allocations: 33.7 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.31e-05/0.1812, allocations: 116 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/0.1812, allocations: 23.62 kB / 486.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.992e-05/0.1813, allocations: 33.7 kB / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.1814, allocations: 331.2 kB / 486.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.257e-05/0.1815, allocations: 31.92 kB / 486.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.1816, allocations: 60.27 kB / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002094/0.1818, allocations: 108.1 kB / 486.7 MB, free: 14.33 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1818, allocations: 0 / 486.7 MB, free: 14.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002905/0.1821, allocations: 133.3 kB / 486.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.1822, allocations: 10.66 kB / 486.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.1822, allocations: 4.125 kB / 486.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.1822, allocations: 11.94 kB / 486.9 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.1823, allocations: 27.92 kB / 486.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.1823, allocations: 4 kB / 486.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.087e-05/0.1824, allocations: 7.938 kB / 486.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.958e-06/0.1824, allocations: 4 kB / 486.9 MB, free: 14.12 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.0001134/0.1825, allocations: 125.8 kB / 487 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.276e-05/0.1826, allocations: 23.73 kB / 487.1 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.027e-05/0.1827, allocations: 17.41 kB / 487.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1827, allocations: 7.938 kB / 487.1 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.1827, allocations: 0 / 487.1 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-06/0.1827, allocations: 7.984 kB / 487.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/0.1829, allocations: 213.5 kB / 487.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.1829, allocations: 0 / 487.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.285e-05/0.183, allocations: 8 kB / 487.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.183, allocations: 4 kB / 487.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.183, allocations: 3.984 kB / 487.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.183, allocations: 3.938 kB / 487.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.183, allocations: 0 / 487.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003692/0.1834, allocations: 184.9 kB / 487.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.119e-05/0.1835, allocations: 88.98 kB / 487.6 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.397e-05/0.1835, allocations: 4 kB / 487.6 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.726e-05/0.1836, allocations: 11.92 kB / 487.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.253e-05/0.1837, allocations: 7.984 kB / 487.6 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.791e-05/0.1837, allocations: 4 kB / 487.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001308/0.1838, allocations: 148.5 kB / 487.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1838, allocations: 0 / 487.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002586/0.1841, allocations: 24 kB / 487.8 MB, free: 13.16 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.001579/0.1857, allocations: 1.024 MB / 488.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002882/0.186, allocations: 79.91 kB / 488.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.186, allocations: 0 / 488.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.1861, allocations: 48.03 kB / 488.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.1865, allocations: 43.5 kB / 489 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002288/0.1888, allocations: 1.729 MB / 490.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/0.1891, allocations: 0.7239 MB / 491.4 MB, free: 9.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.233e-05/0.1892, allocations: 17.41 kB / 491.4 MB, free: 9.484 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.033e-05/0.1893, allocations: 47.36 kB / 491.5 MB, free: 9.438 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1893, allocations: 0 / 491.5 MB, free: 9.438 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02307/0.2124, allocations: 3.721 MB / 495.2 MB, free: 5.785 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.399/7.612, allocations: 14.72 kB / 495.2 MB, free: 5.773 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches