Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008794/0.0008795, allocations: 94 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001125/0.001125, allocations: 196.6 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.538/1.538, allocations: 227.7 MB / 246.8 MB, free: 11.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2375/0.2375, allocations: 46.18 MB / 345.2 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002605/0.0002605, allocations: 12 kB / 419.6 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1357, allocations: 63.55 MB / 483.2 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.002619/0.1384, allocations: 1.446 MB / 484.6 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001727/0.1402, allocations: 1.001 MB / 485.6 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.676e-05/0.1403, allocations: 0 / 485.6 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000354/0.1406, allocations: 47.81 kB / 485.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002771/0.1409, allocations: 79.73 kB / 485.8 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000204/0.1411, allocations: 67.86 kB / 485.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001716/0.1413, allocations: 99.64 kB / 485.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.835e-05/0.1414, allocations: 15.98 kB / 485.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.066e-05/0.1415, allocations: 35.8 kB / 486 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.018e-05/0.1416, allocations: 39.77 kB / 486 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.1416, allocations: 0 / 486 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.249e-05/0.1417, allocations: 43.98 kB / 486.1 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.571e-05/0.1418, allocations: 31.84 kB / 486.1 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.34e-05/0.1419, allocations: 61.39 kB / 486.1 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001799/0.142, allocations: 123.9 kB / 486.3 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1421, allocations: 0 / 486.3 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1421, allocations: 0 / 486.3 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.1421, allocations: 4 kB / 486.3 MB, free: 0.9727 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.0004999/0.1426, allocations: 403 kB / 486.7 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.1426, allocations: 12.88 kB / 486.7 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.916e-05/0.1427, allocations: 38.67 kB / 486.7 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.767e-05/0.1427, allocations: 24.75 kB / 486.7 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/0.143, allocations: 220.7 kB / 487 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.143, allocations: 384 / 487 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.143, allocations: 7.938 kB / 487 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.1432, allocations: 53.67 kB / 487 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1432, allocations: 0 / 487 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.1432, allocations: 0 / 487 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.1432, allocations: 0 / 487 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.266e-05/0.1433, allocations: 23.98 kB / 487 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003672/0.1437, allocations: 292.8 kB / 487.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001641/0.1438, allocations: 66.61 kB / 487.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.182e-05/0.1439, allocations: 20.84 kB / 487.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.1439, allocations: 0 / 487.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001678/0.1441, allocations: 75.38 kB / 487.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.1441, allocations: 0 / 487.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005392/0.1446, allocations: 173.1 kB / 487.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.1447, allocations: 55.41 kB / 487.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/0.1449, allocations: 238.1 kB / 487.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.145, allocations: 29.7 kB / 488 MB, free: 15.06 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.812e-05/0.145, allocations: 112.1 kB / 488.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.289e-05/0.1451, allocations: 27.64 kB / 488.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.819e-05/0.1451, allocations: 25.7 kB / 488.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.1452, allocations: 322.8 kB / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.047e-05/0.1453, allocations: 19.98 kB / 488.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.16e-05/0.1454, allocations: 33.72 kB / 488.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.1455, allocations: 57.64 kB / 488.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1455, allocations: 0 / 488.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001742/0.1457, allocations: 113.4 kB / 488.7 MB, free: 14.33 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.1457, allocations: 4 kB / 488.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1457, allocations: 0 / 488.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-05/0.1457, allocations: 4 kB / 488.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.77e-05/0.1458, allocations: 12 kB / 488.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.1458, allocations: 3.938 kB / 488.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.033e-05/0.1459, allocations: 11.92 kB / 488.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.1459, allocations: 8 kB / 488.7 MB, free: 14.29 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.0001004/0.146, allocations: 130 kB / 488.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.024e-05/0.146, allocations: 11.81 kB / 488.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.548e-05/0.1461, allocations: 25.5 kB / 488.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1461, allocations: 0 / 488.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1461, allocations: 0 / 488.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1461, allocations: 3.938 kB / 488.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004101/0.1465, allocations: 403.3 kB / 489.3 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1465, allocations: 4.031 kB / 489.3 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.123e-05/0.1466, allocations: 11.98 kB / 489.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.1466, allocations: 3.938 kB / 489.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.1466, allocations: 4 kB / 489.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1466, allocations: 0 / 489.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1466, allocations: 0 / 489.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002248/0.1468, allocations: 208.1 kB / 489.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.024e-05/0.1469, allocations: 97.28 kB / 489.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.696e-05/0.1469, allocations: 11.94 kB / 489.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.156e-05/0.147, allocations: 4 kB / 489.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.769e-05/0.147, allocations: 7.984 kB / 489.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.1471, allocations: 4 kB / 489.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001653/0.1472, allocations: 176.4 kB / 489.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1472, allocations: 0 / 489.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002536/0.1475, allocations: 23.98 kB / 489.8 MB, free: 13.07 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.001405/0.1489, allocations: 1.091 MB / 490.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001672/0.1491, allocations: 63.91 kB / 491 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1491, allocations: 0 / 491 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.66e-05/0.1492, allocations: 23.98 kB / 491 MB, free: 12.03 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003374/0.1495, allocations: 25.86 kB / 491 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001914/0.1514, allocations: 1.77 MB / 492.8 MB, free: 10.15 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/0.1518, allocations: 0.7083 MB / 493.5 MB, free: 9.414 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.155e-05/0.1518, allocations: 16.88 kB / 493.5 MB, free: 9.398 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.668e-05/0.1519, allocations: 39.42 kB / 493.5 MB, free: 9.359 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1519, allocations: 0 / 493.5 MB, free: 9.359 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01367/0.1656, allocations: 3.171 MB / 496.7 MB, free: 6.312 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002074/0.1659, allocations: 239.2 kB / 496.9 MB, free: 6.062 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.763/1.929, allocations: 0 / 496.9 MB, free: 6.062 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test51_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test51.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches