Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001335/0.001335, allocations: 104.4 kB / 17.21 MB, free: 6.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001492/0.001492, allocations: 209.7 kB / 18.14 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.505/1.505, allocations: 227.4 MB / 246.3 MB, free: 9.023 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2357/0.2357, allocations: 46.1 MB / 343.6 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 77.47 kB / 416.9 MB, free: 20.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.13, allocations: 62.45 MB / 479.4 MB, free: 5.566 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.004142/0.1342, allocations: 1.781 MB / 481.2 MB, free: 3.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002167/0.1364, allocations: 1.017 MB / 482.2 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002033/0.1366, allocations: 7.938 kB / 482.2 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005113/0.1372, allocations: 39.83 kB / 482.2 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005191/0.1377, allocations: 79.73 kB / 482.3 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003885/0.1382, allocations: 55.89 kB / 482.4 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002824/0.1385, allocations: 103.7 kB / 482.5 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001697/0.1386, allocations: 8 kB / 482.5 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.1388, allocations: 39.73 kB / 482.5 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.927e-05/0.1389, allocations: 39.77 kB / 482.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.1389, allocations: 4 kB / 482.6 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001488/0.1391, allocations: 39.98 kB / 482.6 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.396e-05/0.1392, allocations: 19.92 kB / 482.6 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.654e-05/0.1392, allocations: 39.67 kB / 482.7 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002646/0.1395, allocations: 119.8 kB / 482.8 MB, free: 2.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1395, allocations: 0 / 482.8 MB, free: 2.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1395, allocations: 0 / 482.8 MB, free: 2.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1395, allocations: 4 kB / 482.8 MB, free: 2.156 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.0006513/0.1402, allocations: 419 kB / 483.2 MB, free: 1.699 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.1403, allocations: 8.875 kB / 483.2 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.99e-05/0.1403, allocations: 38.73 kB / 483.2 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.215e-05/0.1404, allocations: 20.75 kB / 483.3 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002879/0.1407, allocations: 204.1 kB / 483.5 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.1407, allocations: 384 / 483.5 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.283e-05/0.1408, allocations: 15.88 kB / 483.5 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002131/0.141, allocations: 53.67 kB / 483.5 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.141, allocations: 0 / 483.5 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.141, allocations: 4 kB / 483.5 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.141, allocations: 0 / 483.5 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.955e-05/0.1411, allocations: 19.98 kB / 483.6 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005536/0.1417, allocations: 288.9 kB / 483.8 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002289/0.1419, allocations: 66.59 kB / 483.9 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.643e-05/0.142, allocations: 24.8 kB / 483.9 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.666e-05/0.1421, allocations: 3.984 kB / 483.9 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003048/0.1424, allocations: 63.39 kB / 484 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.1424, allocations: 0 / 484 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007138/0.1431, allocations: 177.1 kB / 484.2 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.526e-05/0.1432, allocations: 59.39 kB / 484.2 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002664/0.1435, allocations: 214.8 kB / 484.4 MB, free: 316 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.1435, allocations: 25.7 kB / 484.5 MB, free: 284 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.436e-05/0.1436, allocations: 104.1 kB / 484.6 MB, free: 176 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.175e-05/0.1437, allocations: 15.72 kB / 484.6 MB, free: 160 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.974e-05/0.1437, allocations: 29.7 kB / 484.6 MB, free: 124 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002072/0.1439, allocations: 326.8 kB / 484.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.598e-05/0.144, allocations: 27.92 kB / 484.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.629e-05/0.1441, allocations: 33.72 kB / 485 MB, free: 15.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.1443, allocations: 57.69 kB / 485 MB, free: 15.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1443, allocations: 0 / 485 MB, free: 15.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002135/0.1445, allocations: 109.5 kB / 485.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.1445, allocations: 4 kB / 485.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.1445, allocations: 80 / 485.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.1446, allocations: 8.031 kB / 485.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.1447, allocations: 12 kB / 485.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.587e-06/0.1447, allocations: 3.984 kB / 485.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.132e-05/0.1448, allocations: 16.23 kB / 485.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.1448, allocations: 4 kB / 485.2 MB, free: 15.5 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.0001266/0.1449, allocations: 128.7 kB / 485.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.165e-05/0.1449, allocations: 15.89 kB / 485.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.182e-05/0.145, allocations: 13.41 kB / 485.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.145, allocations: 0 / 485.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.145, allocations: 8 kB / 485.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.145, allocations: 3.938 kB / 485.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005199/0.1456, allocations: 403.2 kB / 485.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1456, allocations: 4 kB / 485.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.266e-05/0.1456, allocations: 8 kB / 485.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.1456, allocations: 3.938 kB / 485.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.1456, allocations: 0 / 485.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.1456, allocations: 0 / 485.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.1457, allocations: 15.95 kB / 485.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/0.1459, allocations: 200.2 kB / 486 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.008e-05/0.146, allocations: 88.92 kB / 486.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.852e-05/0.146, allocations: 3.938 kB / 486.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.315e-05/0.1461, allocations: 4 kB / 486.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.612e-05/0.1462, allocations: 11.98 kB / 486.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/0.1462, allocations: 4 kB / 486.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001493/0.1463, allocations: 156.3 kB / 486.2 MB, free: 14.35 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1464, allocations: 0 / 486.2 MB, free: 14.35 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000286/0.1466, allocations: 27.98 kB / 486.3 MB, free: 14.32 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.001726/0.1484, allocations: 1.08 MB / 487.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000283/0.1487, allocations: 59.97 kB / 487.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.1487, allocations: 64 / 487.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.069e-05/0.1488, allocations: 32.09 kB / 487.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004/0.1492, allocations: 28.11 kB / 487.5 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002205/0.1514, allocations: 1.705 MB / 489.2 MB, free: 11.47 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000374/0.1518, allocations: 0.7043 MB / 489.9 MB, free: 10.74 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.684e-05/0.1519, allocations: 20.55 kB / 489.9 MB, free: 10.72 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.156e-05/0.152, allocations: 39.42 kB / 489.9 MB, free: 10.68 MB / 366.1 MB Notification: Performance of SimCode: time 6.51e-07/0.152, allocations: 0 / 489.9 MB, free: 10.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01481/0.1668, allocations: 3.254 MB / 493.2 MB, free: 7.52 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002069/0.167, allocations: 245.1 kB / 493.4 MB, free: 7.258 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.93/2.097, allocations: 0 / 493.4 MB, free: 7.258 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test23_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test23.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches