Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.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.CombiTable1Dv.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001092/0.001092, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001273/0.001273, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.323/1.323, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2184/0.2184, allocations: 46.11 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 77.66 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1214, allocations: 62.44 MB / 480.1 MB, free: 5.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.00286/0.1243, allocations: 1.604 MB / 481.7 MB, free: 3.562 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001679/0.126, allocations: 1.164 MB / 482.9 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.761e-05/0.126, allocations: 3.938 kB / 482.9 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002286/0.1263, allocations: 23.86 kB / 482.9 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002929/0.1266, allocations: 87.61 kB / 483 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003023/0.1269, allocations: 115.4 kB / 483.1 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.1271, allocations: 63.84 kB / 483.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.751e-05/0.1272, allocations: 11.98 kB / 483.2 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.536e-05/0.1272, allocations: 35.84 kB / 483.2 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.1274, allocations: 31.84 kB / 483.3 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.1274, allocations: 4 kB / 483.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000163/0.1275, allocations: 91.89 kB / 483.4 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.534e-05/0.1276, allocations: 19.97 kB / 483.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.038e-05/0.1276, allocations: 19.81 kB / 483.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002451/0.1279, allocations: 140 kB / 483.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1279, allocations: 0 / 483.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1279, allocations: 0 / 483.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.1279, allocations: 0 / 483.5 MB, free: 1.758 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004676/0.1284, allocations: 407.1 kB / 483.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.1284, allocations: 8.031 kB / 483.9 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.065e-05/0.1285, allocations: 34.73 kB / 484 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.678e-05/0.1285, allocations: 12.84 kB / 484 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001807/0.1287, allocations: 188.2 kB / 484.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.1287, allocations: 8.375 kB / 484.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.1288, allocations: 384 / 484.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.1289, allocations: 67.34 kB / 484.2 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.1289, allocations: 0 / 484.2 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.1289, allocations: 4 kB / 484.2 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.666e-06/0.1289, allocations: 3.938 kB / 484.2 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.987e-05/0.129, allocations: 27.97 kB / 484.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003569/0.1294, allocations: 284.9 kB / 484.5 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001869/0.1296, allocations: 46.56 kB / 484.6 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.139e-05/0.1297, allocations: 20.88 kB / 484.6 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.1297, allocations: 4 kB / 484.6 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.1297, allocations: 34.56 kB / 484.7 MB, free: 464 kB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.031e-06/0.1297, allocations: 0 / 484.7 MB, free: 464 kB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005441/0.1303, allocations: 153.2 kB / 484.8 MB, free: 304 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.1303, allocations: 81.11 kB / 484.9 MB, free: 204 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.1305, allocations: 141.8 kB / 485 MB, free: 52 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.1305, allocations: 37.64 kB / 485.1 MB, free: 8 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.288e-05/0.1306, allocations: 92.12 kB / 485.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/0.1306, allocations: 15.72 kB / 485.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.024e-05/0.1306, allocations: 21.7 kB / 485.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.1307, allocations: 322.8 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.298e-05/0.1308, allocations: 27.91 kB / 485.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.192e-05/0.1309, allocations: 33.7 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.1311, allocations: 52.83 kB / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1311, allocations: 0 / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001888/0.1313, allocations: 89.59 kB / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.1313, allocations: 4 kB / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.1313, allocations: 0 / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.1313, allocations: 0 / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.566e-05/0.1314, allocations: 20.02 kB / 485.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1314, allocations: 0 / 485.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.067e-05/0.1315, allocations: 11.84 kB / 485.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.1315, allocations: 256 / 485.7 MB, free: 15.3 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.359e-05/0.1316, allocations: 117.8 kB / 485.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.475e-05/0.1316, allocations: 4 kB / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002498/0.1319, allocations: 105.8 kB / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1319, allocations: 8 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1319, allocations: 0 / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.1319, allocations: 3.938 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004044/0.1323, allocations: 354.5 kB / 486.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1323, allocations: 0 / 486.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.926e-05/0.1324, allocations: 19.92 kB / 486.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.1324, allocations: 0 / 486.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.1324, allocations: 7.938 kB / 486.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1324, allocations: 0 / 486.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1324, allocations: 0 / 486.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002239/0.1326, allocations: 179.4 kB / 486.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.627e-05/0.1327, allocations: 85.09 kB / 486.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.763e-05/0.1327, allocations: 7.938 kB / 486.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.574e-05/0.1328, allocations: 4 kB / 486.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.062e-05/0.1328, allocations: 4 kB / 486.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.1329, allocations: 11.92 kB / 486.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.314e-05/0.1329, allocations: 109.3 kB / 486.7 MB, free: 14.19 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.133, allocations: 0 / 486.7 MB, free: 14.19 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002799/0.1332, allocations: 39.98 kB / 486.8 MB, free: 14.15 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001673/0.1349, allocations: 1.109 MB / 487.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002445/0.1352, allocations: 59.84 kB / 487.9 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.1352, allocations: 3.938 kB / 487.9 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.362e-05/0.1353, allocations: 27.97 kB / 488 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004192/0.1357, allocations: 17.66 kB / 488 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/0.1376, allocations: 1.436 MB / 489.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/0.1379, allocations: 0.6885 MB / 490.1 MB, free: 10.85 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.308e-05/0.138, allocations: 28.14 kB / 490.1 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.91e-05/0.138, allocations: 23.42 kB / 490.2 MB, free: 10.8 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.138, allocations: 0 / 490.2 MB, free: 10.8 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.036/1.174, allocations: 3.157 MB / 493.3 MB, free: 7.699 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.979/9.154, allocations: 7.828 kB / 493.3 MB, free: 7.695 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test24_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test24.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches