Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000878/0.0008779, allocations: 94.25 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001206/0.001205, allocations: 201.9 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 227.7 MB / 246.8 MB, free: 9.562 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2313/0.2313, allocations: 46.19 MB / 345.2 MB, free: 11.17 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002728/0.0002731, allocations: 8 kB / 419.6 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1296, allocations: 63.55 MB / 483.2 MB, free: 4.031 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.002155/0.1318, allocations: 1.411 MB / 484.6 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001728/0.1335, allocations: 0.9746 MB / 485.6 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.11e-05/0.1336, allocations: 4 kB / 485.6 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002924/0.1339, allocations: 51.8 kB / 485.6 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002553/0.1342, allocations: 83.73 kB / 485.7 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001761/0.1344, allocations: 59.88 kB / 485.8 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001515/0.1346, allocations: 99.64 kB / 485.9 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.139e-05/0.1346, allocations: 4.234 kB / 485.9 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.49e-05/0.1347, allocations: 47.77 kB / 485.9 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.424e-05/0.1348, allocations: 27.86 kB / 485.9 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.1348, allocations: 0 / 485.9 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.437e-05/0.1349, allocations: 35.92 kB / 486 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.11e-05/0.135, allocations: 31.84 kB / 486 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.97e-05/0.135, allocations: 65.38 kB / 486.1 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001707/0.1352, allocations: 123.8 kB / 486.2 MB, free: 1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1352, allocations: 0 / 486.2 MB, free: 1 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1352, allocations: 0 / 486.2 MB, free: 1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.1352, allocations: 0 / 486.2 MB, free: 1 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.0005277/0.1358, allocations: 414.9 kB / 486.6 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.1358, allocations: 12.88 kB / 486.6 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.608e-05/0.1359, allocations: 30.75 kB / 486.6 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.944e-05/0.1359, allocations: 16.69 kB / 486.7 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/0.1362, allocations: 221 kB / 486.9 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.1362, allocations: 8.375 kB / 486.9 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.1362, allocations: 7.938 kB / 486.9 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.1363, allocations: 45.67 kB / 486.9 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.1364, allocations: 3.938 kB / 486.9 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.1364, allocations: 0 / 486.9 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.1364, allocations: 0 / 486.9 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.189e-05/0.1365, allocations: 15.98 kB / 486.9 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002232/0.1367, allocations: 193.7 kB / 487.1 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001613/0.1369, allocations: 62.5 kB / 487.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.841e-05/0.1369, allocations: 20.84 kB / 487.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.137, allocations: 4 kB / 487.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001773/0.1372, allocations: 63.33 kB / 487.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.453e-06/0.1372, allocations: 0 / 487.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002826/0.1375, allocations: 105.4 kB / 487.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.806e-05/0.1375, allocations: 51.41 kB / 487.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002543/0.1378, allocations: 267 kB / 487.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.1378, allocations: 29.69 kB / 487.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.207e-05/0.1379, allocations: 116.1 kB / 487.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.718e-05/0.1379, allocations: 11.81 kB / 487.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-05/0.138, allocations: 13.72 kB / 487.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.1381, allocations: 322.8 kB / 488.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.787e-05/0.1382, allocations: 19.98 kB / 488.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.224e-05/0.1382, allocations: 37.69 kB / 488.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.435e-05/0.1383, allocations: 41.66 kB / 488.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.1383, allocations: 3.938 kB / 488.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001575/0.1385, allocations: 85.48 kB / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.1385, allocations: 4 kB / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.1385, allocations: 12.02 kB / 488.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.1386, allocations: 3.938 kB / 488.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.233e-05/0.1386, allocations: 8 kB / 488.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1387, allocations: 0 / 488.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.887e-05/0.1387, allocations: 7.938 kB / 488.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.1387, allocations: 7.984 kB / 488.4 MB, free: 14.53 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.0001106/0.1388, allocations: 133.8 kB / 488.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.256e-05/0.1389, allocations: 15.81 kB / 488.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.174e-05/0.1389, allocations: 21 kB / 488.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.1389, allocations: 0 / 488.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.1389, allocations: 320 / 488.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1389, allocations: 0 / 488.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.1391, allocations: 209.5 kB / 488.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.1391, allocations: 4 kB / 488.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.008e-05/0.1392, allocations: 4 kB / 488.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1392, allocations: 0 / 488.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.1392, allocations: 0 / 488.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.1392, allocations: 0 / 488.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1392, allocations: 7.875 kB / 488.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001809/0.1394, allocations: 120.9 kB / 488.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.199e-05/0.1394, allocations: 92.86 kB / 489 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.343e-05/0.1395, allocations: 3.984 kB / 489 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.419e-05/0.1395, allocations: 4 kB / 489 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.971e-05/0.1396, allocations: 4 kB / 489 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.1396, allocations: 4 kB / 489 MB, free: 13.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002409/0.1398, allocations: 204.4 kB / 489.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1398, allocations: 4 kB / 489.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002146/0.14, allocations: 20 kB / 489.2 MB, free: 13.6 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.001253/0.1413, allocations: 0.9413 MB / 490.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002636/0.1416, allocations: 39.98 kB / 490.2 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1416, allocations: 0 / 490.2 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.974e-05/0.1417, allocations: 23.92 kB / 490.2 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002619/0.1419, allocations: 27.92 kB / 490.3 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00179/0.1437, allocations: 1.697 MB / 492 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.144, allocations: 0.7121 MB / 492.7 MB, free: 10.15 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.595e-05/0.1441, allocations: 8.562 kB / 492.7 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.129e-05/0.1442, allocations: 47.42 kB / 492.7 MB, free: 10.1 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1442, allocations: 0 / 492.7 MB, free: 10.1 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01588/0.16, allocations: 3.04 MB / 495.8 MB, free: 7.184 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00025/0.1603, allocations: 241.2 kB / 496 MB, free: 6.922 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.737/1.898, allocations: 0 / 496 MB, free: 6.922 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test64_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test64.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches