Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001625/0.001625, allocations: 108.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.001285/0.001285, 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.421/1.421, allocations: 227.4 MB / 246.3 MB, free: 10.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2456/0.2456, allocations: 46.11 MB / 343.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 81.16 kB / 416.9 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1338, allocations: 62.45 MB / 479.4 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.003912/0.1378, allocations: 1.781 MB / 481.2 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001947/0.1397, allocations: 1.017 MB / 482.2 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.1399, allocations: 0 / 482.2 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003582/0.1403, allocations: 39.83 kB / 482.2 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003597/0.1406, allocations: 83.67 kB / 482.3 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002736/0.1409, allocations: 63.86 kB / 482.4 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001999/0.1411, allocations: 91.77 kB / 482.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.1413, allocations: 12 kB / 482.5 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.1414, allocations: 43.72 kB / 482.5 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.642e-05/0.1415, allocations: 35.78 kB / 482.6 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.1415, allocations: 4 kB / 482.6 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001429/0.1417, allocations: 39.98 kB / 482.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.572e-05/0.1417, allocations: 23.91 kB / 482.6 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.458e-05/0.1418, allocations: 35.73 kB / 482.7 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002385/0.1421, allocations: 115.8 kB / 482.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1421, allocations: 4 kB / 482.8 MB, free: 2.207 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1421, allocations: 0 / 482.8 MB, free: 2.207 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.1421, allocations: 0 / 482.8 MB, free: 2.207 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.0006652/0.1428, allocations: 422.9 kB / 483.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.1428, allocations: 8.875 kB / 483.2 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.282e-05/0.1429, allocations: 30.75 kB / 483.2 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.419e-05/0.1429, allocations: 12.84 kB / 483.2 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002834/0.1432, allocations: 210.7 kB / 483.4 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.58e-05/0.1433, allocations: 4.375 kB / 483.5 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.1433, allocations: 3.938 kB / 483.5 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/0.1435, allocations: 65.61 kB / 483.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.1435, allocations: 3.906 kB / 483.5 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.1435, allocations: 0 / 483.5 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.1435, allocations: 0 / 483.5 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.034e-05/0.1436, allocations: 23.98 kB / 483.5 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004087/0.144, allocations: 288.9 kB / 483.8 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.1442, allocations: 62.61 kB / 483.9 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.934e-05/0.1443, allocations: 24.84 kB / 483.9 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.1443, allocations: 0 / 483.9 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002384/0.1446, allocations: 63.39 kB / 484 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.988e-06/0.1446, allocations: 4 kB / 484 MB, free: 0.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006142/0.1452, allocations: 173.2 kB / 484.2 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.1453, allocations: 51.41 kB / 484.2 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002424/0.1455, allocations: 202.7 kB / 484.4 MB, free: 396 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.1456, allocations: 25.7 kB / 484.4 MB, free: 364 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.089e-05/0.1456, allocations: 100.1 kB / 484.5 MB, free: 260 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.604e-05/0.1457, allocations: 27.64 kB / 484.5 MB, free: 232 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.751e-05/0.1457, allocations: 17.72 kB / 484.6 MB, free: 208 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.1459, allocations: 334.8 kB / 484.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.869e-05/0.146, allocations: 16 kB / 484.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.662e-05/0.1461, allocations: 37.64 kB / 484.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.1462, allocations: 65.69 kB / 485 MB, free: 15.74 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1462, allocations: 0 / 485 MB, free: 15.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002032/0.1464, allocations: 101.5 kB / 485.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.1464, allocations: 15.97 kB / 485.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.1465, allocations: 0 / 485.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.1465, allocations: 0 / 485.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.723e-05/0.1466, allocations: 19.98 kB / 485.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.1466, allocations: 4 kB / 485.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.187e-05/0.1466, allocations: 3.938 kB / 485.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.1467, allocations: 4 kB / 485.2 MB, free: 15.59 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.0001236/0.1468, allocations: 129.8 kB / 485.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.48e-05/0.1468, allocations: 7.906 kB / 485.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.909e-05/0.1469, allocations: 25.39 kB / 485.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.1469, allocations: 0 / 485.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.1469, allocations: 384 / 485.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.1469, allocations: 3.938 kB / 485.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000482/0.1474, allocations: 395.2 kB / 485.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.1474, allocations: 4 kB / 485.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.962e-05/0.1475, allocations: 11.98 kB / 485.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.778e-06/0.1475, allocations: 7.969 kB / 485.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.1475, allocations: 4 kB / 485.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.1475, allocations: 0 / 485.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.1475, allocations: 0 / 485.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002829/0.1478, allocations: 200.2 kB / 485.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.098e-05/0.1479, allocations: 88.92 kB / 486 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.289e-05/0.1479, allocations: 11.92 kB / 486 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.279e-05/0.148, allocations: 8 kB / 486 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.015e-05/0.148, allocations: 4 kB / 486 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.1481, allocations: 7.984 kB / 486 MB, free: 14.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001296/0.1482, allocations: 148.8 kB / 486.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 6.01e-07/0.1482, allocations: 0 / 486.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002845/0.1485, allocations: 28.17 kB / 486.2 MB, free: 14.41 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.001691/0.1502, allocations: 1.089 MB / 487.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000219/0.1504, allocations: 63.97 kB / 487.4 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1504, allocations: 0 / 487.4 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.848e-05/0.1505, allocations: 28.08 kB / 487.4 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003988/0.1509, allocations: 32.06 kB / 487.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002016/0.153, allocations: 1.664 MB / 489.1 MB, free: 11.58 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.1533, allocations: 0.7082 MB / 489.8 MB, free: 10.85 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.26e-05/0.1534, allocations: 20.86 kB / 489.8 MB, free: 10.83 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.425e-05/0.1535, allocations: 35.42 kB / 489.9 MB, free: 10.79 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1535, allocations: 0 / 489.9 MB, free: 10.79 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01642/0.1699, allocations: 3.194 MB / 493.1 MB, free: 7.703 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002121/0.1702, allocations: 233.8 kB / 493.3 MB, free: 7.449 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.947/2.117, allocations: 0 / 493.3 MB, free: 7.449 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test19_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test19.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches