Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009847/0.0009843, allocations: 93.78 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.001293/0.001293, 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.477/1.477, allocations: 227.7 MB / 246.8 MB, free: 9.559 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2258/0.2258, allocations: 46.18 MB / 345.2 MB, free: 11.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002832/0.0002832, allocations: 12 kB / 419.6 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1261, allocations: 63.55 MB / 483.2 MB, free: 4.031 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002248/0.1284, allocations: 1.446 MB / 484.6 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001586/0.13, allocations: 0.9902 MB / 485.6 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.712e-05/0.1301, allocations: 4 kB / 485.6 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002913/0.1304, allocations: 39.83 kB / 485.7 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003605/0.1308, allocations: 75.73 kB / 485.7 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003129/0.1311, allocations: 59.88 kB / 485.8 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000243/0.1314, allocations: 103.6 kB / 485.9 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.1315, allocations: 12 kB / 485.9 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.1316, allocations: 35.8 kB / 485.9 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.97e-05/0.1317, allocations: 39.77 kB / 486 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.1318, allocations: 4 kB / 486 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001438/0.1319, allocations: 39.98 kB / 486 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.934e-05/0.132, allocations: 23.84 kB / 486.1 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.054e-05/0.1321, allocations: 57.45 kB / 486.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.1323, allocations: 111.9 kB / 486.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1323, allocations: 0 / 486.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1323, allocations: 0 / 486.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1323, allocations: 0 / 486.2 MB, free: 0.9766 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.0005956/0.1329, allocations: 411.1 kB / 486.6 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.133, allocations: 8.875 kB / 486.6 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.562e-05/0.133, allocations: 34.75 kB / 486.7 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.106e-05/0.1331, allocations: 12.84 kB / 486.7 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002646/0.1334, allocations: 214.6 kB / 486.9 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.1334, allocations: 8.312 kB / 486.9 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.1334, allocations: 7.938 kB / 486.9 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.1336, allocations: 53.67 kB / 487 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.1336, allocations: 3.938 kB / 487 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.1336, allocations: 8 kB / 487 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.1336, allocations: 0 / 487 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.025e-05/0.1337, allocations: 19.98 kB / 487 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004327/0.1342, allocations: 284.8 kB / 487.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.1343, allocations: 66.59 kB / 487.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.606e-05/0.1344, allocations: 20.86 kB / 487.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.1344, allocations: 3.984 kB / 487.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001698/0.1346, allocations: 67.39 kB / 487.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.654e-06/0.1346, allocations: 0 / 487.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005356/0.1352, allocations: 169.2 kB / 487.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.1352, allocations: 55.39 kB / 487.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.1354, allocations: 206.7 kB / 487.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.1354, allocations: 25.7 kB / 487.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.427e-05/0.1355, allocations: 104.1 kB / 488 MB, free: 15.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.921e-05/0.1355, allocations: 19.7 kB / 488 MB, free: 15 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.597e-05/0.1356, allocations: 17.72 kB / 488 MB, free: 14.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.1357, allocations: 322.8 kB / 488.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.997e-05/0.1357, allocations: 23.98 kB / 488.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.064e-05/0.1358, allocations: 33.7 kB / 488.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001119/0.1359, allocations: 69.69 kB / 488.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1359, allocations: 0 / 488.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001836/0.1361, allocations: 97.44 kB / 488.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.1362, allocations: 4 kB / 488.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1362, allocations: 4 kB / 488.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.1362, allocations: 0 / 488.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.537e-05/0.1363, allocations: 15.98 kB / 488.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.1363, allocations: 3.938 kB / 488.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.323e-05/0.1364, allocations: 15.97 kB / 488.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.1364, allocations: 4 kB / 488.6 MB, free: 14.37 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 8.973e-05/0.1365, allocations: 121.8 kB / 488.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.048e-05/0.1365, allocations: 7.906 kB / 488.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.262e-05/0.1365, allocations: 17.41 kB / 488.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1365, allocations: 3.938 kB / 488.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.1366, allocations: 0 / 488.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.1366, allocations: 7.922 kB / 488.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004347/0.137, allocations: 399.8 kB / 489.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.137, allocations: 0 / 489.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.873e-05/0.1371, allocations: 19.94 kB / 489.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.1371, allocations: 3.938 kB / 489.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.1371, allocations: 7.984 kB / 489.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.1371, allocations: 0 / 489.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1371, allocations: 0 / 489.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002472/0.1374, allocations: 204.3 kB / 489.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.918e-05/0.1375, allocations: 88.92 kB / 489.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.962e-05/0.1375, allocations: 11.92 kB / 489.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.274e-05/0.1376, allocations: 4 kB / 489.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.405e-05/0.1376, allocations: 4 kB / 489.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.1376, allocations: 7.984 kB / 489.5 MB, free: 13.37 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001293/0.1378, allocations: 152.8 kB / 489.6 MB, free: 13.22 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1378, allocations: 0 / 489.6 MB, free: 13.22 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002667/0.138, allocations: 27.98 kB / 489.6 MB, free: 13.19 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.001421/0.1395, allocations: 1.085 MB / 490.7 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001688/0.1397, allocations: 63.91 kB / 490.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1397, allocations: 0 / 490.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.506e-05/0.1397, allocations: 23.98 kB / 490.8 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.1401, allocations: 36.5 kB / 490.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001626/0.1417, allocations: 1.662 MB / 492.5 MB, free: 10.37 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/0.142, allocations: 0.7043 MB / 493.2 MB, free: 9.637 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.59e-05/0.142, allocations: 25.09 kB / 493.2 MB, free: 9.609 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.036e-05/0.1421, allocations: 35.42 kB / 493.3 MB, free: 9.574 MB / 366.1 MB Notification: Performance of SimCode: time 2.595e-06/0.1421, allocations: 0 / 493.3 MB, free: 9.574 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01307/0.1552, allocations: 3.015 MB / 496.3 MB, free: 6.688 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001948/0.1554, allocations: 232.5 kB / 496.5 MB, free: 6.438 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.74/1.895, allocations: 0 / 496.5 MB, free: 6.438 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test28_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test28.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches