Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0016/0.001601, allocations: 104.8 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001821/0.001821, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.517/1.517, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2342/0.2342, allocations: 46.11 MB / 343.6 MB, free: 11.81 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 82.25 kB / 416.9 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1417, allocations: 62.44 MB / 479.4 MB, free: 5.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003673/0.1454, allocations: 1.997 MB / 481.4 MB, free: 3.613 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001818/0.1473, allocations: 1.048 MB / 482.4 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001526/0.1474, allocations: 0 / 482.4 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003531/0.1478, allocations: 39.77 kB / 482.5 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003418/0.1482, allocations: 75.69 kB / 482.6 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002965/0.1485, allocations: 87.78 kB / 482.6 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002427/0.1488, allocations: 131.6 kB / 482.8 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.1489, allocations: 29.5 kB / 482.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.149, allocations: 59.7 kB / 482.9 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.1491, allocations: 47.66 kB / 482.9 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.502e-05/0.1492, allocations: 4 kB / 482.9 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000132/0.1493, allocations: 43.98 kB / 482.9 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.334e-05/0.1494, allocations: 23.91 kB / 483 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.539e-05/0.1495, allocations: 47.67 kB / 483 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002598/0.1497, allocations: 155.7 kB / 483.2 MB, free: 1.828 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1497, allocations: 0 / 483.2 MB, free: 1.828 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1498, allocations: 0 / 483.2 MB, free: 1.828 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.1498, allocations: 0 / 483.2 MB, free: 1.828 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.0006747/0.1504, allocations: 488.5 kB / 483.6 MB, free: 1.297 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.1505, allocations: 8.875 kB / 483.7 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.16e-05/0.1505, allocations: 42.73 kB / 483.7 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.641e-05/0.1506, allocations: 16.75 kB / 483.7 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002755/0.1509, allocations: 228.7 kB / 483.9 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.1509, allocations: 8.375 kB / 483.9 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.797e-05/0.151, allocations: 11.94 kB / 484 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002506/0.1512, allocations: 104.2 kB / 484.1 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.1512, allocations: 4 kB / 484.1 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.1513, allocations: 8 kB / 484.1 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.1513, allocations: 0 / 484.1 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001543/0.1514, allocations: 51.91 kB / 484.1 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006055/0.152, allocations: 0.5087 MB / 484.6 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003193/0.1524, allocations: 86.66 kB / 484.7 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.99e-05/0.1525, allocations: 40.84 kB / 484.8 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.7e-05/0.1525, allocations: 3.984 kB / 484.8 MB, free: 52 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002763/0.1528, allocations: 79.42 kB / 484.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.633e-06/0.1528, allocations: 8 kB / 484.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004069/0.1532, allocations: 149.3 kB / 485 MB, free: 15.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.1533, allocations: 51.41 kB / 485 MB, free: 15.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.1535, allocations: 199.1 kB / 485.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.1535, allocations: 29.7 kB / 485.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.564e-05/0.1536, allocations: 116 kB / 485.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.587e-05/0.1536, allocations: 27.61 kB / 485.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.1e-05/0.1537, allocations: 37.7 kB / 485.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.1538, allocations: 326.8 kB / 485.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.421e-05/0.1539, allocations: 27.98 kB / 485.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.154, allocations: 60.27 kB / 485.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/0.1542, allocations: 104.1 kB / 485.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1542, allocations: 0 / 485.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002775/0.1545, allocations: 133.3 kB / 486.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.1545, allocations: 8.125 kB / 486.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.1545, allocations: 7.984 kB / 486.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.1546, allocations: 7.938 kB / 486.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.878e-05/0.1547, allocations: 16 kB / 486.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.1547, allocations: 7.984 kB / 486.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.216e-05/0.1547, allocations: 11.94 kB / 486.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.1548, allocations: 4 kB / 486.1 MB, free: 14.56 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.0001032/0.1549, allocations: 125.8 kB / 486.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.9e-05/0.1549, allocations: 19.8 kB / 486.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.787e-05/0.155, allocations: 21.88 kB / 486.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.155, allocations: 3.938 kB / 486.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.155, allocations: 0 / 486.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.155, allocations: 7.828 kB / 486.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001813/0.1552, allocations: 217.5 kB / 486.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1552, allocations: 3.938 kB / 486.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.225e-05/0.1553, allocations: 8 kB / 486.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.1553, allocations: 4 kB / 486.5 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.1553, allocations: 0 / 486.5 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.1553, allocations: 3.938 kB / 486.5 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.1553, allocations: 7.938 kB / 486.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003692/0.1557, allocations: 180.8 kB / 486.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.963e-05/0.1558, allocations: 92.98 kB / 486.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.721e-05/0.1558, allocations: 4 kB / 486.8 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.39e-05/0.1559, allocations: 11.92 kB / 486.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.749e-05/0.1559, allocations: 4 kB / 486.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.1559, allocations: 12.05 kB / 486.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001318/0.1561, allocations: 144.4 kB / 487 MB, free: 13.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1561, allocations: 0 / 487 MB, free: 13.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002396/0.1563, allocations: 28.12 kB / 487 MB, free: 13.59 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.00154/0.1579, allocations: 1.022 MB / 488 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002477/0.1581, allocations: 79.84 kB / 488.1 MB, free: 12.6 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1582, allocations: 0 / 488.1 MB, free: 12.6 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.1583, allocations: 31.98 kB / 488.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.1586, allocations: 46.56 kB / 488.2 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00206/0.1606, allocations: 1.773 MB / 490 MB, free: 10.65 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.161, allocations: 0.7165 MB / 490.7 MB, free: 9.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.129e-05/0.1611, allocations: 25.39 kB / 490.7 MB, free: 9.887 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.455e-05/0.1611, allocations: 43.42 kB / 490.8 MB, free: 9.844 MB / 366.1 MB Notification: Performance of SimCode: time 1.523e-06/0.1612, allocations: 0 / 490.8 MB, free: 9.844 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01361/0.1748, allocations: 3.511 MB / 494.3 MB, free: 6.426 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001834/0.175, allocations: 233 kB / 494.5 MB, free: 6.172 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.999/2.174, allocations: 0 / 494.5 MB, free: 6.172 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches