Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001438/0.001437, allocations: 107.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001693/0.001693, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, 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.241/0.241, allocations: 46.11 MB / 343.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 71.33 kB / 416.9 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1344, allocations: 62.45 MB / 479.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003443/0.1379, allocations: 1.781 MB / 481.2 MB, free: 3.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002487/0.1404, allocations: 1.604 MB / 482.8 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.052e-05/0.1405, allocations: 4 kB / 482.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002688/0.1408, allocations: 35.89 kB / 482.8 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003006/0.1411, allocations: 83.67 kB / 482.9 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002119/0.1413, allocations: 55.89 kB / 483 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001863/0.1415, allocations: 107.6 kB / 483.1 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.322e-05/0.1416, allocations: 11.98 kB / 483.1 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.995e-05/0.1417, allocations: 35.8 kB / 483.1 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/0.1419, allocations: 43.83 kB / 483.2 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.1419, allocations: 8 kB / 483.2 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001988/0.1421, allocations: 103.9 kB / 483.3 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.184e-05/0.1422, allocations: 19.91 kB / 483.3 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.61e-05/0.1423, allocations: 27.81 kB / 483.3 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002834/0.1426, allocations: 171.8 kB / 483.5 MB, free: 1.512 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1426, allocations: 0 / 483.5 MB, free: 1.512 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.1426, allocations: 0 / 483.5 MB, free: 1.512 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.245e-06/0.1426, allocations: 0 / 483.5 MB, free: 1.512 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.0006173/0.1432, allocations: 427 kB / 483.9 MB, free: 1.047 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.1433, allocations: 12.88 kB / 483.9 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.615e-05/0.1433, allocations: 38.75 kB / 483.9 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.82e-05/0.1434, allocations: 8.844 kB / 484 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.1436, allocations: 216.4 kB / 484.2 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.1437, allocations: 0 / 484.2 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.1437, allocations: 4 kB / 484.2 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.1439, allocations: 67.33 kB / 484.2 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.1439, allocations: 3.984 kB / 484.2 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.1439, allocations: 12 kB / 484.3 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.1439, allocations: 4 kB / 484.3 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.38e-05/0.144, allocations: 15.98 kB / 484.3 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003511/0.1444, allocations: 284.9 kB / 484.5 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/0.1446, allocations: 58.61 kB / 484.6 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.868e-05/0.1446, allocations: 28.8 kB / 484.6 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.1447, allocations: 0 / 484.6 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002311/0.1449, allocations: 67.38 kB / 484.7 MB, free: 112 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 4.148e-06/0.1449, allocations: 3.984 kB / 484.7 MB, free: 108 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005952/0.1455, allocations: 173.1 kB / 484.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.83e-05/0.1456, allocations: 85.05 kB / 485 MB, free: 15.83 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001819/0.1458, allocations: 166.5 kB / 485.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.1458, allocations: 25.7 kB / 485.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.972e-05/0.1459, allocations: 100.1 kB / 485.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.086e-05/0.1459, allocations: 31.62 kB / 485.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-05/0.146, allocations: 21.72 kB / 485.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.1461, allocations: 322.8 kB / 485.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.211e-05/0.1462, allocations: 19.98 kB / 485.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.989e-05/0.1463, allocations: 50.5 kB / 485.7 MB, free: 15.06 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.1464, allocations: 53.72 kB / 485.7 MB, free: 15 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.1464, allocations: 0 / 485.7 MB, free: 15 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002063/0.1466, allocations: 101.5 kB / 485.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.1466, allocations: 4 kB / 485.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.1466, allocations: 0 / 485.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.1467, allocations: 4 kB / 485.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.196e-05/0.1468, allocations: 23.98 kB / 485.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.1468, allocations: 0 / 485.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.563e-05/0.1468, allocations: 4 kB / 485.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.1469, allocations: 8.156 kB / 485.9 MB, free: 14.86 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.0001189/0.147, allocations: 117.8 kB / 486 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.04e-05/0.147, allocations: 11.81 kB / 486 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.445e-05/0.1471, allocations: 20.69 kB / 486 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.1471, allocations: 7.938 kB / 486 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.1471, allocations: 0 / 486 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1471, allocations: 4 kB / 486 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000478/0.1476, allocations: 391.3 kB / 486.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.1476, allocations: 4.312 kB / 486.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.458e-05/0.1476, allocations: 11.98 kB / 486.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.1476, allocations: 8 kB / 486.4 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.1477, allocations: 4 kB / 486.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1477, allocations: 0 / 486.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1477, allocations: 192 / 486.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002346/0.1479, allocations: 200.3 kB / 486.6 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.705e-05/0.148, allocations: 96.89 kB / 486.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.344e-05/0.148, allocations: 7.984 kB / 486.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.839e-05/0.1481, allocations: 3.938 kB / 486.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.704e-05/0.1481, allocations: 4 kB / 486.7 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.1482, allocations: 11.98 kB / 486.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001159/0.1483, allocations: 126.5 kB / 486.9 MB, free: 13.74 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1483, allocations: 0 / 486.9 MB, free: 13.74 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003154/0.1486, allocations: 51.98 kB / 486.9 MB, free: 13.69 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.001714/0.1503, allocations: 1.178 MB / 488.1 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002069/0.1506, allocations: 51.98 kB / 488.2 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1506, allocations: 0 / 488.2 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.76e-05/0.1507, allocations: 35.92 kB / 488.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.151, allocations: 24.09 kB / 488.2 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001947/0.153, allocations: 1.606 MB / 489.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.1533, allocations: 0.6976 MB / 490.5 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.613e-05/0.1534, allocations: 21.17 kB / 490.5 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.77e-05/0.1535, allocations: 35.42 kB / 490.6 MB, free: 10.09 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1535, allocations: 0 / 490.6 MB, free: 10.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0184/0.1719, allocations: 3.769 MB / 494.3 MB, free: 6.43 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002118/0.1722, allocations: 237.5 kB / 494.6 MB, free: 6.176 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.902/2.075, allocations: 7.875 kB / 494.6 MB, free: 6.168 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test59_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test59.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches