Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001455/0.001455, allocations: 107.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001815/0.001816, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.53/1.53, allocations: 227.4 MB / 246.3 MB, free: 9.027 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2485/0.2485, allocations: 46.11 MB / 343.6 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 85.27 kB / 417 MB, free: 20.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1272, allocations: 62.44 MB / 479.4 MB, free: 5.562 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.003454/0.1307, allocations: 1.801 MB / 481.2 MB, free: 3.746 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001704/0.1324, allocations: 1.006 MB / 482.2 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.039e-05/0.1325, allocations: 4 kB / 482.2 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003084/0.1328, allocations: 43.72 kB / 482.2 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002991/0.1332, allocations: 71.73 kB / 482.3 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002416/0.1334, allocations: 67.81 kB / 482.4 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001811/0.1336, allocations: 95.75 kB / 482.5 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.1337, allocations: 8 kB / 482.5 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.544e-05/0.1338, allocations: 43.78 kB / 482.5 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.085e-05/0.1339, allocations: 35.78 kB / 482.6 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.1339, allocations: 4 kB / 482.6 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.1341, allocations: 43.92 kB / 482.6 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.593e-05/0.1341, allocations: 19.91 kB / 482.6 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.611e-05/0.1342, allocations: 31.75 kB / 482.7 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002052/0.1344, allocations: 111.9 kB / 482.8 MB, free: 2.164 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1344, allocations: 0 / 482.8 MB, free: 2.164 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1344, allocations: 0 / 482.8 MB, free: 2.164 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.209e-06/0.1344, allocations: 0 / 482.8 MB, free: 2.164 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.0005336/0.135, allocations: 411.1 kB / 483.2 MB, free: 1.715 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.135, allocations: 16.88 kB / 483.2 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.354e-05/0.1351, allocations: 38.69 kB / 483.2 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.36e-05/0.1351, allocations: 12.75 kB / 483.2 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002325/0.1354, allocations: 208.1 kB / 483.4 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.1354, allocations: 384 / 483.4 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/0.1354, allocations: 11.94 kB / 483.4 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.1356, allocations: 49.67 kB / 483.5 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.1356, allocations: 0 / 483.5 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.1356, allocations: 4 kB / 483.5 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.1356, allocations: 4 kB / 483.5 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.352e-05/0.1357, allocations: 27.86 kB / 483.5 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003775/0.1361, allocations: 284.9 kB / 483.8 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.1363, allocations: 54.69 kB / 483.9 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.618e-05/0.1364, allocations: 20.84 kB / 483.9 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.033e-05/0.1364, allocations: 8 kB / 483.9 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002556/0.1367, allocations: 71.33 kB / 484 MB, free: 0.793 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.723e-06/0.1367, allocations: 0 / 484 MB, free: 0.793 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006301/0.1373, allocations: 169.2 kB / 484.1 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/0.1374, allocations: 55.41 kB / 484.2 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001993/0.1376, allocations: 181.9 kB / 484.4 MB, free: 376 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.1376, allocations: 29.7 kB / 484.4 MB, free: 340 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.404e-05/0.1377, allocations: 108 kB / 484.5 MB, free: 228 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.208e-05/0.1378, allocations: 31.62 kB / 484.5 MB, free: 196 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.698e-05/0.1378, allocations: 21.72 kB / 484.5 MB, free: 168 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.138, allocations: 322.8 kB / 484.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.883e-05/0.1381, allocations: 23.98 kB / 484.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.089e-05/0.1381, allocations: 37.64 kB / 484.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.1383, allocations: 61.66 kB / 485 MB, free: 15.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1383, allocations: 0 / 485 MB, free: 15.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001994/0.1385, allocations: 97.58 kB / 485.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.1385, allocations: 4 kB / 485.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.1385, allocations: 4 kB / 485.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.1385, allocations: 0 / 485.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.1386, allocations: 19.92 kB / 485.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.1387, allocations: 0 / 485.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.856e-05/0.1387, allocations: 11.97 kB / 485.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.1387, allocations: 7.984 kB / 485.1 MB, free: 15.56 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.0001256/0.1389, allocations: 125.8 kB / 485.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.859e-05/0.1389, allocations: 11.81 kB / 485.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.964e-05/0.139, allocations: 13.41 kB / 485.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.139, allocations: 4 kB / 485.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.139, allocations: 0 / 485.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.139, allocations: 3.938 kB / 485.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004904/0.1395, allocations: 399.5 kB / 485.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1395, allocations: 0 / 485.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.544e-05/0.1395, allocations: 8 kB / 485.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.659e-06/0.1396, allocations: 11.88 kB / 485.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.1396, allocations: 3.938 kB / 485.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.1396, allocations: 0 / 485.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.1396, allocations: 4 kB / 485.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000258/0.1399, allocations: 204.3 kB / 485.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.683e-05/0.1399, allocations: 84.92 kB / 486 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.017e-05/0.14, allocations: 8.312 kB / 486 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.109e-05/0.14, allocations: 4 kB / 486 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.464e-05/0.1401, allocations: 7.984 kB / 486 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.1401, allocations: 8 kB / 486 MB, free: 14.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001318/0.1402, allocations: 141.8 kB / 486.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1403, allocations: 4 kB / 486.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000274/0.1405, allocations: 20 kB / 486.2 MB, free: 14.41 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.001492/0.142, allocations: 1.089 MB / 487.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000185/0.1422, allocations: 59.91 kB / 487.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.1422, allocations: 3.938 kB / 487.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.386e-05/0.1423, allocations: 35.92 kB / 487.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.1427, allocations: 20.11 kB / 487.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001893/0.1446, allocations: 1.645 MB / 489 MB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.1449, allocations: 0.7004 MB / 489.7 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.635e-05/0.145, allocations: 16.86 kB / 489.7 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.362e-05/0.1451, allocations: 39.36 kB / 489.8 MB, free: 10.82 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1451, allocations: 0 / 489.8 MB, free: 10.82 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01419/0.1593, allocations: 3.148 MB / 492.9 MB, free: 7.777 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002051/0.1595, allocations: 239.8 kB / 493.2 MB, free: 7.52 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.977/2.137, allocations: 0 / 493.2 MB, free: 7.52 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test17_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test17.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches