Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001064/0.001064, allocations: 106 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.001218/0.001218, 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.421/1.421, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2351/0.2351, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 80.5 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1411, allocations: 62.44 MB / 480.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.00484/0.146, allocations: 1.72 MB / 481.9 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001961/0.148, allocations: 1.029 MB / 482.9 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/0.1482, allocations: 0 / 482.9 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004392/0.1487, allocations: 79.7 kB / 483 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004674/0.1492, allocations: 111.6 kB / 483.1 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003041/0.1495, allocations: 75.67 kB / 483.1 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000303/0.1499, allocations: 123.7 kB / 483.3 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.15, allocations: 15.98 kB / 483.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.1501, allocations: 51.72 kB / 483.3 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.1502, allocations: 63.75 kB / 483.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.1503, allocations: 4 kB / 483.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.1504, allocations: 43.98 kB / 483.4 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.672e-05/0.1505, allocations: 23.91 kB / 483.5 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.134e-05/0.1505, allocations: 31.75 kB / 483.5 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002436/0.1508, allocations: 131.8 kB / 483.6 MB, free: 1.652 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1508, allocations: 4 kB / 483.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1508, allocations: 0 / 483.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.1508, allocations: 0 / 483.6 MB, free: 1.648 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.0006015/0.1514, allocations: 426.9 kB / 484 MB, free: 1.184 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.1515, allocations: 8.031 kB / 484.1 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.714e-05/0.1515, allocations: 30.75 kB / 484.1 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.245e-05/0.1516, allocations: 16.75 kB / 484.1 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002577/0.1519, allocations: 216 kB / 484.3 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.1519, allocations: 384 / 484.3 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/0.1519, allocations: 11.94 kB / 484.3 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001931/0.1521, allocations: 53.67 kB / 484.4 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.1521, allocations: 7.875 kB / 484.4 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.1522, allocations: 0 / 484.4 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.1522, allocations: 3.984 kB / 484.4 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.656e-05/0.1523, allocations: 20 kB / 484.4 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004568/0.1527, allocations: 288.9 kB / 484.7 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001942/0.1529, allocations: 62.62 kB / 484.8 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.48e-05/0.153, allocations: 20.84 kB / 484.8 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/0.153, allocations: 0 / 484.8 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002584/0.1533, allocations: 67.39 kB / 484.8 MB, free: 272 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.1533, allocations: 0 / 484.8 MB, free: 272 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006118/0.1539, allocations: 185.3 kB / 485 MB, free: 80 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.154, allocations: 51.41 kB / 485.1 MB, free: 16 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002534/0.1543, allocations: 228.2 kB / 485.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.1543, allocations: 29.64 kB / 485.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.155e-05/0.1544, allocations: 112.1 kB / 485.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.888e-05/0.1544, allocations: 23.66 kB / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.242e-05/0.1545, allocations: 21.7 kB / 485.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.1546, allocations: 326.8 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.73e-05/0.1547, allocations: 23.98 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.818e-05/0.1548, allocations: 37.77 kB / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.1549, allocations: 61.72 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.1549, allocations: 0 / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000199/0.1551, allocations: 101.5 kB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.1551, allocations: 12.03 kB / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.1552, allocations: 80 / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.1552, allocations: 0 / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.502e-05/0.1553, allocations: 19.98 kB / 486 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.1553, allocations: 3.984 kB / 486 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.84e-05/0.1554, allocations: 7.938 kB / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.1554, allocations: 4 kB / 486.1 MB, free: 14.97 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.0001118/0.1555, allocations: 129.1 kB / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.498e-05/0.1555, allocations: 11.84 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.174e-05/0.1556, allocations: 25.41 kB / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1556, allocations: 0 / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.1556, allocations: 0 / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.1556, allocations: 7.922 kB / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005218/0.1561, allocations: 403.2 kB / 486.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.1562, allocations: 3.984 kB / 486.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.365e-05/0.1562, allocations: 8 kB / 486.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.1562, allocations: 3.938 kB / 486.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.1562, allocations: 8.016 kB / 486.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.1562, allocations: 4 kB / 486.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1562, allocations: 0 / 486.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002316/0.1565, allocations: 200.3 kB / 486.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.28e-05/0.1565, allocations: 88.92 kB / 486.9 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.839e-05/0.1566, allocations: 3.938 kB / 486.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.597e-05/0.1567, allocations: 23.92 kB / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.041e-05/0.1567, allocations: 4 kB / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.1567, allocations: 4 kB / 487 MB, free: 13.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001392/0.1569, allocations: 169.4 kB / 487.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1569, allocations: 0 / 487.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002651/0.1571, allocations: 23.94 kB / 487.2 MB, free: 13.77 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.001558/0.1587, allocations: 1.083 MB / 488.2 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001986/0.1589, allocations: 67.92 kB / 488.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1589, allocations: 3.938 kB / 488.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.669e-05/0.159, allocations: 36.06 kB / 488.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/0.1594, allocations: 27.69 kB / 488.4 MB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002242/0.1616, allocations: 1.705 MB / 490.1 MB, free: 10.9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003596/0.162, allocations: 0.7119 MB / 490.8 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.592e-05/0.1621, allocations: 20.88 kB / 490.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.896e-05/0.1622, allocations: 35.42 kB / 490.8 MB, free: 10.11 MB / 366.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1622, allocations: 0 / 490.8 MB, free: 10.11 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02265/0.1849, allocations: 3.491 MB / 494.3 MB, free: 6.691 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.324/7.509, allocations: 11.73 kB / 494.3 MB, free: 6.68 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test40_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches