Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001417/0.001417, allocations: 114 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002846/0.002846, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.51/1.51, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2351/0.2351, allocations: 46.1 MB / 343.8 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 79.72 kB / 417.2 MB, free: 19.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1193, allocations: 62.45 MB / 479.6 MB, free: 5.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003654/0.123, allocations: 1.75 MB / 481.4 MB, free: 3.762 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001677/0.1247, allocations: 0.9889 MB / 482.3 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.1249, allocations: 4 kB / 482.3 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003447/0.1252, allocations: 63.84 kB / 482.4 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004315/0.1257, allocations: 91.67 kB / 482.5 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002893/0.126, allocations: 63.86 kB / 482.6 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00024/0.1263, allocations: 107.7 kB / 482.7 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.045e-05/0.1263, allocations: 4.234 kB / 482.7 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.1264, allocations: 51.72 kB / 482.7 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.1266, allocations: 51.83 kB / 482.8 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.1266, allocations: 4 kB / 482.8 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.1267, allocations: 32 kB / 482.8 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.581e-05/0.1268, allocations: 19.92 kB / 482.8 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.529e-05/0.1269, allocations: 39.72 kB / 482.9 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.1271, allocations: 103.9 kB / 483 MB, free: 2.145 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1271, allocations: 0 / 483 MB, free: 2.145 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.1271, allocations: 0 / 483 MB, free: 2.145 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.1271, allocations: 0 / 483 MB, free: 2.145 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.0006875/0.1278, allocations: 402.9 kB / 483.4 MB, free: 1.703 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.1278, allocations: 12.03 kB / 483.4 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.966e-05/0.1279, allocations: 34.75 kB / 483.4 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.91e-05/0.1279, allocations: 8.844 kB / 483.4 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002714/0.1282, allocations: 218.6 kB / 483.6 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.1282, allocations: 384 / 483.6 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.577e-05/0.1283, allocations: 3.938 kB / 483.6 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.1284, allocations: 53.61 kB / 483.7 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.1284, allocations: 0 / 483.7 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.1284, allocations: 4 kB / 483.7 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1285, allocations: 4 kB / 483.7 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.353e-05/0.1285, allocations: 11.98 kB / 483.7 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002139/0.1288, allocations: 181.7 kB / 483.9 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.1289, allocations: 58.55 kB / 483.9 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.331e-05/0.129, allocations: 16.86 kB / 484 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.129, allocations: 0 / 484 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000193/0.1292, allocations: 75.23 kB / 484 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.1292, allocations: 0 / 484 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002863/0.1295, allocations: 105.5 kB / 484.1 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.1296, allocations: 51.41 kB / 484.2 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.1298, allocations: 186.9 kB / 484.4 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.1298, allocations: 29.7 kB / 484.4 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.009e-05/0.1299, allocations: 112.1 kB / 484.5 MB, free: 408 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.001e-05/0.1299, allocations: 11.81 kB / 484.5 MB, free: 396 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.966e-05/0.13, allocations: 17.72 kB / 484.5 MB, free: 372 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002182/0.1302, allocations: 326.8 kB / 484.8 MB, free: 36 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.038e-05/0.1302, allocations: 15.98 kB / 484.9 MB, free: 20 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.222e-05/0.1303, allocations: 25.7 kB / 484.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.198e-05/0.1304, allocations: 45.7 kB / 484.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.1304, allocations: 7.938 kB / 484.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001613/0.1306, allocations: 77.53 kB / 485 MB, free: 15.85 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.1306, allocations: 7.984 kB / 485 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.1306, allocations: 0 / 485 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.1306, allocations: 4 kB / 485 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.152e-05/0.1307, allocations: 8 kB / 485 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.1307, allocations: 0 / 485 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.521e-05/0.1308, allocations: 7.984 kB / 485 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-06/0.1308, allocations: 4.031 kB / 485 MB, free: 15.82 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.0001775/0.131, allocations: 137.7 kB / 485.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.142e-05/0.131, allocations: 15.75 kB / 485.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.596e-05/0.131, allocations: 16.98 kB / 485.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.131, allocations: 0 / 485.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1311, allocations: 0 / 485.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.1311, allocations: 0 / 485.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001443/0.1312, allocations: 189.5 kB / 485.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1312, allocations: 0 / 485.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.211e-05/0.1312, allocations: 4 kB / 485.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.1313, allocations: 7.984 kB / 485.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.1313, allocations: 4.312 kB / 485.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.1313, allocations: 4 kB / 485.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1313, allocations: 0 / 485.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.1315, allocations: 109 kB / 485.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.199e-05/0.1316, allocations: 88.95 kB / 485.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.1316, allocations: 0 / 485.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.628e-05/0.1316, allocations: 4 kB / 485.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.28e-05/0.1317, allocations: 7.984 kB / 485.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.1317, allocations: 4 kB / 485.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001137/0.1318, allocations: 152.7 kB / 485.8 MB, free: 14.99 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1318, allocations: 0 / 485.8 MB, free: 14.99 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002236/0.132, allocations: 23.91 kB / 485.8 MB, free: 14.97 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.001344/0.1334, allocations: 0.939 MB / 486.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001601/0.1336, allocations: 43.92 kB / 486.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1336, allocations: 4 kB / 486.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.998e-05/0.1336, allocations: 15.98 kB / 486.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.1339, allocations: 30.61 kB / 486.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/0.1358, allocations: 1.513 MB / 488.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.1361, allocations: 0.701 MB / 489 MB, free: 11.72 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.009e-05/0.1362, allocations: 12.56 kB / 489.1 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.353e-05/0.1362, allocations: 35.42 kB / 489.1 MB, free: 11.67 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1362, allocations: 3.938 kB / 489.1 MB, free: 11.67 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04329/0.1795, allocations: 2.979 MB / 492.1 MB, free: 8.793 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002882/0.1799, allocations: 230.2 kB / 492.3 MB, free: 8.543 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.027/2.207, allocations: 4 kB / 492.3 MB, free: 8.539 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test38_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches