Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007867/0.0007866, allocations: 96.64 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009541/0.0009541, allocations: 206.2 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 227.7 MB / 246.8 MB, free: 11.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2367/0.2367, allocations: 46.19 MB / 345.2 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003063/0.0003063, allocations: 12 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1397, allocations: 63.56 MB / 483.2 MB, free: 4.059 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002156/0.1419, allocations: 1.45 MB / 484.6 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002376/0.1442, allocations: 1.577 MB / 486.2 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.705e-05/0.1444, allocations: 0 / 486.2 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003341/0.1447, allocations: 31.84 kB / 486.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003099/0.145, allocations: 79.73 kB / 486.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001721/0.1452, allocations: 71.8 kB / 486.4 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001709/0.1454, allocations: 107.7 kB / 486.5 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.1455, allocations: 4 kB / 486.5 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.777e-05/0.1456, allocations: 51.78 kB / 486.6 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001638/0.1458, allocations: 47.7 kB / 486.6 MB, free: 0.625 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.1458, allocations: 4 kB / 486.6 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001681/0.146, allocations: 99.92 kB / 486.7 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.843e-05/0.146, allocations: 19.92 kB / 486.7 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.15e-05/0.1461, allocations: 61.44 kB / 486.8 MB, free: 448 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002541/0.1464, allocations: 183.8 kB / 487 MB, free: 264 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1464, allocations: 0 / 487 MB, free: 264 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1464, allocations: 0 / 487 MB, free: 264 kB / 350.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.1464, allocations: 0 / 487 MB, free: 264 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006097/0.147, allocations: 419.1 kB / 487.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.1471, allocations: 12.81 kB / 487.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.075e-05/0.1471, allocations: 42.73 kB / 487.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.903e-05/0.1472, allocations: 8.844 kB / 487.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/0.1474, allocations: 212.1 kB / 487.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.1475, allocations: 384 / 487.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/0.1475, allocations: 7.938 kB / 487.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.1477, allocations: 79.38 kB / 487.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.1477, allocations: 7.906 kB / 487.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.1477, allocations: 0 / 487.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1477, allocations: 0 / 487.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.701e-05/0.1478, allocations: 35.95 kB / 487.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003909/0.1482, allocations: 300.7 kB / 488.1 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.1484, allocations: 74.67 kB / 488.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.218e-05/0.1485, allocations: 20.84 kB / 488.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.1485, allocations: 4 kB / 488.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001821/0.1487, allocations: 71.33 kB / 488.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.1487, allocations: 0 / 488.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006005/0.1493, allocations: 197.3 kB / 488.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.88e-05/0.1494, allocations: 81.11 kB / 488.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002272/0.1496, allocations: 178.1 kB / 488.7 MB, free: 14.33 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.1497, allocations: 29.7 kB / 488.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.776e-05/0.1497, allocations: 100.1 kB / 488.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.391e-05/0.1498, allocations: 27.64 kB / 488.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.588e-05/0.1498, allocations: 9.719 kB / 488.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.1499, allocations: 326.8 kB / 489.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.245e-05/0.15, allocations: 23.98 kB / 489.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.133e-05/0.1501, allocations: 50.56 kB / 489.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.1502, allocations: 73.67 kB / 489.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1502, allocations: 3.938 kB / 489.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000203/0.1504, allocations: 117.4 kB / 489.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.1504, allocations: 4 kB / 489.4 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.1505, allocations: 480 / 489.4 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.1505, allocations: 8.062 kB / 489.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.295e-05/0.1506, allocations: 23.98 kB / 489.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.1506, allocations: 3.938 kB / 489.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.337e-05/0.1506, allocations: 7.938 kB / 489.5 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.387e-06/0.1507, allocations: 4 kB / 489.5 MB, free: 13.48 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 (11): * Single equations (assignments): 11 * 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 9.736e-05/0.1508, allocations: 125.8 kB / 489.6 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.111e-05/0.1508, allocations: 7.906 kB / 489.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.41e-05/0.1508, allocations: 16.7 kB / 489.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.1509, allocations: 8 kB / 489.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1509, allocations: 0 / 489.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1509, allocations: 3.938 kB / 489.6 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004508/0.1513, allocations: 419.2 kB / 490 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1513, allocations: 0 / 490 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.721e-05/0.1514, allocations: 11.98 kB / 490.1 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.1514, allocations: 3.938 kB / 490.1 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.1514, allocations: 4 kB / 490.1 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1514, allocations: 32 / 490.1 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1514, allocations: 4 kB / 490.1 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002437/0.1517, allocations: 212.2 kB / 490.3 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.007e-05/0.1517, allocations: 89.02 kB / 490.4 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.192e-05/0.1518, allocations: 15.92 kB / 490.4 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.479e-05/0.1519, allocations: 0 / 490.4 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.234e-05/0.1519, allocations: 11.94 kB / 490.4 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.1519, allocations: 7.984 kB / 490.4 MB, free: 12.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001086/0.152, allocations: 127.2 kB / 490.5 MB, free: 12.33 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.152, allocations: 0 / 490.5 MB, free: 12.33 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002897/0.1523, allocations: 52.17 kB / 490.6 MB, free: 12.28 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 (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.00167/0.154, allocations: 1.193 MB / 491.8 MB, free: 11.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001952/0.1542, allocations: 71.91 kB / 491.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1542, allocations: 0 / 491.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.46e-05/0.1543, allocations: 40.09 kB / 491.9 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/0.1547, allocations: 27.91 kB / 491.9 MB, free: 11.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.1564, allocations: 1.668 MB / 493.6 MB, free: 9.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/0.1567, allocations: 0.7009 MB / 494.3 MB, free: 8.613 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.706e-05/0.1567, allocations: 21.02 kB / 494.3 MB, free: 8.594 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.306e-05/0.1568, allocations: 43.36 kB / 494.3 MB, free: 8.551 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1568, allocations: 4 kB / 494.3 MB, free: 8.547 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01449/0.1713, allocations: 3.709 MB / 498 MB, free: 4.977 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001704/0.1715, allocations: 244 kB / 498.3 MB, free: 4.719 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.849/2.02, allocations: 0 / 498.3 MB, free: 4.719 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches