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.001164/0.001164, 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.001357/0.001357, 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.429/1.429, 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.233/0.233, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 84.64 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1263, allocations: 62.44 MB / 480.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.00348/0.1299, allocations: 1.695 MB / 481.8 MB, free: 3.492 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001733/0.1316, allocations: 1.005 MB / 482.8 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.1318, allocations: 0 / 482.8 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003315/0.1321, allocations: 59.75 kB / 482.9 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000363/0.1325, allocations: 95.59 kB / 483 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002082/0.1327, allocations: 75.67 kB / 483.1 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001641/0.1329, allocations: 99.69 kB / 483.2 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.823e-05/0.133, allocations: 4.234 kB / 483.2 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.466e-05/0.1331, allocations: 39.78 kB / 483.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.924e-05/0.1332, allocations: 31.86 kB / 483.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.1332, allocations: 7.938 kB / 483.2 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001283/0.1333, allocations: 31.98 kB / 483.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.317e-05/0.1334, allocations: 27.84 kB / 483.3 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.705e-05/0.1335, allocations: 43.69 kB / 483.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.1337, allocations: 123.8 kB / 483.5 MB, free: 1.852 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.1337, allocations: 4 kB / 483.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1337, allocations: 0 / 483.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.1337, allocations: 0 / 483.5 MB, free: 1.848 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.0005725/0.1343, allocations: 434.7 kB / 483.9 MB, free: 1.375 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.1343, allocations: 8.031 kB / 483.9 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.46e-05/0.1344, allocations: 34.69 kB / 483.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.939e-05/0.1344, allocations: 12.84 kB / 483.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002754/0.1347, allocations: 220.9 kB / 484.2 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.1347, allocations: 4.375 kB / 484.2 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.1348, allocations: 3.938 kB / 484.2 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.1349, allocations: 45.67 kB / 484.2 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.1349, allocations: 0 / 484.2 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.135, allocations: 4 kB / 484.2 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.135, allocations: 4 kB / 484.2 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.47e-05/0.1351, allocations: 19.92 kB / 484.2 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000256/0.1353, allocations: 189.7 kB / 484.4 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001703/0.1355, allocations: 54.56 kB / 484.5 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6e-05/0.1356, allocations: 20.84 kB / 484.5 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.307e-05/0.1356, allocations: 7.938 kB / 484.5 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002111/0.1358, allocations: 63.39 kB / 484.6 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.984e-06/0.1358, allocations: 0 / 484.6 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003057/0.1361, allocations: 101.4 kB / 484.7 MB, free: 476 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.299e-05/0.1362, allocations: 51.41 kB / 484.7 MB, free: 412 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002577/0.1365, allocations: 271 kB / 485 MB, free: 128 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.1365, allocations: 29.7 kB / 485 MB, free: 92 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.44e-05/0.1366, allocations: 116.1 kB / 485.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.252e-05/0.1366, allocations: 7.906 kB / 485.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.31e-05/0.1367, allocations: 21.66 kB / 485.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.1368, allocations: 326.8 kB / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.92e-05/0.1368, allocations: 16.23 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.608e-05/0.1369, allocations: 29.7 kB / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.846e-05/0.137, allocations: 49.66 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.137, allocations: 7.922 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001657/0.1372, allocations: 85.44 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.1372, allocations: 10.5 kB / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1372, allocations: 0 / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.1373, allocations: 0 / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.122e-05/0.1373, allocations: 8 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1373, allocations: 0 / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.463e-05/0.1374, allocations: 23.81 kB / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.1374, allocations: 8.031 kB / 485.7 MB, free: 15.36 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.0001018/0.1375, allocations: 129.8 kB / 485.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.33e-05/0.1376, allocations: 11.91 kB / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.709e-05/0.1376, allocations: 17 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1376, allocations: 3.984 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.1376, allocations: 0 / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1376, allocations: 0 / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.1378, allocations: 209.5 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1378, allocations: 0 / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.299e-05/0.1378, allocations: 8 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1378, allocations: 3.938 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.1378, allocations: 0 / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1378, allocations: 0 / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.1378, allocations: 0 / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001777/0.138, allocations: 124.9 kB / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.192e-05/0.1381, allocations: 85.02 kB / 486.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/0.1381, allocations: 3.984 kB / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.575e-05/0.1382, allocations: 4 kB / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.976e-05/0.1382, allocations: 8 kB / 486.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.1382, allocations: 0 / 486.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001732/0.1384, allocations: 208.4 kB / 486.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1384, allocations: 0 / 486.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002141/0.1386, allocations: 20 kB / 486.5 MB, free: 14.45 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.001294/0.1399, allocations: 0.9486 MB / 487.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001727/0.1401, allocations: 47.92 kB / 487.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1401, allocations: 0 / 487.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.274e-05/0.1402, allocations: 19.98 kB / 487.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.1405, allocations: 27.53 kB / 487.6 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001769/0.1422, allocations: 1.669 MB / 489.2 MB, free: 11.76 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002637/0.1425, allocations: 0.7205 MB / 490 MB, free: 11.01 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.298e-05/0.1426, allocations: 12.55 kB / 490 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.552e-05/0.1427, allocations: 39.42 kB / 490 MB, free: 10.96 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1427, allocations: 0 / 490 MB, free: 10.96 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01932/0.162, allocations: 3.411 MB / 493.4 MB, free: 7.621 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.162/7.324, allocations: 8.047 kB / 493.4 MB, free: 7.613 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/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