Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00172/0.00172, 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.00201/0.00201, 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.48/1.48, 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.2311/0.2311, allocations: 46.1 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 81.69 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1383, allocations: 62.44 MB / 480.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.003594/0.1419, allocations: 1.688 MB / 481.8 MB, free: 3.473 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001608/0.1435, allocations: 1.002 MB / 482.8 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.544e-05/0.1436, allocations: 0 / 482.8 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002726/0.1439, allocations: 55.75 kB / 482.9 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003047/0.1443, allocations: 103.5 kB / 483 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001931/0.1445, allocations: 67.73 kB / 483.1 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001661/0.1446, allocations: 95.7 kB / 483.1 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.104e-05/0.1447, allocations: 20.16 kB / 483.2 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.35e-05/0.1448, allocations: 47.77 kB / 483.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.849e-05/0.1449, allocations: 23.86 kB / 483.2 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.1449, allocations: 4 kB / 483.2 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.851e-05/0.145, allocations: 28 kB / 483.3 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.672e-05/0.1451, allocations: 35.83 kB / 483.3 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.364e-05/0.1451, allocations: 35.69 kB / 483.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.1453, allocations: 127.8 kB / 483.5 MB, free: 1.832 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1453, allocations: 0 / 483.5 MB, free: 1.832 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1453, allocations: 0 / 483.5 MB, free: 1.832 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.1453, allocations: 4 kB / 483.5 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005154/0.1459, allocations: 434.6 kB / 483.9 MB, free: 1.355 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.1459, allocations: 12.02 kB / 483.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.52e-05/0.146, allocations: 30.75 kB / 483.9 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.762e-05/0.146, allocations: 12.84 kB / 483.9 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002483/0.1463, allocations: 216.9 kB / 484.2 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.1463, allocations: 8.375 kB / 484.2 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.1463, allocations: 3.938 kB / 484.2 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.1465, allocations: 57.61 kB / 484.2 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.1465, allocations: 0 / 484.2 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.1465, allocations: 3.938 kB / 484.2 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1465, allocations: 0 / 484.2 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.928e-05/0.1466, allocations: 15.98 kB / 484.2 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002008/0.1468, allocations: 189.7 kB / 484.4 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.147, allocations: 54.55 kB / 484.5 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.215e-05/0.147, allocations: 24.8 kB / 484.5 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.147, allocations: 3.984 kB / 484.5 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002286/0.1473, allocations: 67.33 kB / 484.6 MB, free: 0.543 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.613e-06/0.1473, allocations: 0 / 484.6 MB, free: 0.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002965/0.1476, allocations: 97.48 kB / 484.7 MB, free: 452 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.1476, allocations: 51.41 kB / 484.7 MB, free: 388 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002536/0.1479, allocations: 275 kB / 485 MB, free: 100 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.1479, allocations: 25.7 kB / 485 MB, free: 68 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.474e-05/0.148, allocations: 112.1 kB / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.217e-05/0.1481, allocations: 11.89 kB / 485.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.002e-05/0.1481, allocations: 17.72 kB / 485.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.1482, allocations: 326.8 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.607e-05/0.1483, allocations: 19.98 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.464e-05/0.1484, allocations: 29.66 kB / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.703e-05/0.1485, allocations: 41.7 kB / 485.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.1485, allocations: 7.938 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001652/0.1487, allocations: 85.69 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.1487, allocations: 8 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.1487, allocations: 3.984 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.1487, allocations: 0 / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.45e-05/0.1488, allocations: 12.03 kB / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.423e-06/0.1488, allocations: 4 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.917e-05/0.1489, allocations: 7.844 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.1489, allocations: 4 kB / 485.7 MB, free: 15.35 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 (7): * Single equations (assignments): 7 * 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.0001132/0.149, allocations: 137.8 kB / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.263e-05/0.149, allocations: 7.906 kB / 485.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.484e-05/0.1491, allocations: 24.92 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.1491, allocations: 3.984 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1491, allocations: 0 / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.1492, allocations: 4 kB / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001677/0.1493, allocations: 209.5 kB / 486.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1493, allocations: 0 / 486.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.254e-05/0.1494, allocations: 7.984 kB / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.103e-06/0.1494, allocations: 0 / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.1494, allocations: 0 / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.1494, allocations: 3.938 kB / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1494, allocations: 3.938 kB / 486.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001921/0.1496, allocations: 120.9 kB / 486.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.582e-05/0.1497, allocations: 85.02 kB / 486.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.276e-05/0.1497, allocations: 0 / 486.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.865e-05/0.1497, allocations: 4 kB / 486.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.1498, allocations: 3.984 kB / 486.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.1498, allocations: 8 kB / 486.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002501/0.1501, allocations: 204.3 kB / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1501, allocations: 0 / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002179/0.1503, allocations: 23.98 kB / 486.5 MB, free: 14.43 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.001211/0.1515, allocations: 0.9406 MB / 487.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000156/0.1517, allocations: 39.92 kB / 487.5 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1517, allocations: 0 / 487.5 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.671e-05/0.1518, allocations: 19.98 kB / 487.5 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002699/0.152, allocations: 37.89 kB / 487.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00188/0.1539, allocations: 1.681 MB / 489.2 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.1543, allocations: 0.7166 MB / 490 MB, free: 10.99 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.023e-05/0.1544, allocations: 12.55 kB / 490 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.569e-05/0.1544, allocations: 39.42 kB / 490 MB, free: 10.94 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1544, allocations: 0 / 490 MB, free: 10.94 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02252/0.177, allocations: 3.41 MB / 493.4 MB, free: 7.598 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.048/8.225, allocations: 7.984 kB / 493.4 MB, free: 7.59 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches