Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00103/0.001031, allocations: 103.8 kB / 17.63 MB, free: 5.504 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: 206.4 kB / 18.58 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2528/0.2528, allocations: 46.09 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001579/0.001579, allocations: 79.38 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1298, allocations: 62.44 MB / 480.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.003654/0.1335, allocations: 1.592 MB / 481.7 MB, free: 3.586 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.1346, allocations: 0.5649 MB / 482.3 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.1348, allocations: 4 kB / 482.3 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002816/0.1351, allocations: 15.86 kB / 482.3 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003532/0.1354, allocations: 83.61 kB / 482.4 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003464/0.1358, allocations: 91.64 kB / 482.5 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001846/0.136, allocations: 71.89 kB / 482.6 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.1361, allocations: 11.98 kB / 482.6 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.419e-05/0.1362, allocations: 27.81 kB / 482.6 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.315e-05/0.1363, allocations: 39.83 kB / 482.6 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.253e-05/0.1363, allocations: 8 kB / 482.6 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002312/0.1366, allocations: 91.94 kB / 482.7 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.624e-05/0.1366, allocations: 23.86 kB / 482.7 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.73e-05/0.1367, allocations: 27.86 kB / 482.8 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003398/0.137, allocations: 143.9 kB / 482.9 MB, free: 2.387 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1371, allocations: 0 / 482.9 MB, free: 2.387 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1371, allocations: 0 / 482.9 MB, free: 2.387 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.1371, allocations: 0 / 482.9 MB, free: 2.387 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.0006207/0.1377, allocations: 415.1 kB / 483.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.1378, allocations: 8.031 kB / 483.3 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.786e-05/0.1378, allocations: 30.75 kB / 483.4 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.706e-05/0.1379, allocations: 12.83 kB / 483.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.1381, allocations: 202.5 kB / 483.6 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.935e-06/0.1381, allocations: 384 / 483.6 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.1382, allocations: 4.375 kB / 483.6 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.1384, allocations: 71.27 kB / 483.6 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.1384, allocations: 7.906 kB / 483.7 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.1384, allocations: 8 kB / 483.7 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.1384, allocations: 0 / 483.7 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.1385, allocations: 23.98 kB / 483.7 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004889/0.139, allocations: 304.8 kB / 484 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.1392, allocations: 58.55 kB / 484 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.611e-05/0.1393, allocations: 28.97 kB / 484.1 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.1393, allocations: 0 / 484.1 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.1393, allocations: 30.56 kB / 484.1 MB, free: 1.031 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.71e-07/0.1393, allocations: 0 / 484.1 MB, free: 1.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007243/0.14, allocations: 185.2 kB / 484.3 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.702e-05/0.1401, allocations: 89.03 kB / 484.4 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.1403, allocations: 152.6 kB / 484.5 MB, free: 0.582 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.1403, allocations: 25.7 kB / 484.5 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.576e-05/0.1404, allocations: 96.12 kB / 484.6 MB, free: 464 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.069e-05/0.1404, allocations: 27.56 kB / 484.7 MB, free: 436 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.173e-05/0.1405, allocations: 29.7 kB / 484.7 MB, free: 400 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.1406, allocations: 322.7 kB / 485 MB, free: 68 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.06e-05/0.1407, allocations: 35.97 kB / 485 MB, free: 32 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.1408, allocations: 45.73 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001767/0.141, allocations: 64.78 kB / 485.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.141, allocations: 0 / 485.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002596/0.1413, allocations: 125.6 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.1413, allocations: 8.031 kB / 485.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.1413, allocations: 384 / 485.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.1414, allocations: 0 / 485.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.1415, allocations: 23.92 kB / 485.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.1415, allocations: 4 kB / 485.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.471e-05/0.1416, allocations: 4 kB / 485.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.1416, allocations: 7.938 kB / 485.3 MB, free: 15.74 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 (9): * Single equations (assignments): 9 * 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.0001051/0.1417, allocations: 121.8 kB / 485.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.436e-05/0.1417, allocations: 11.91 kB / 485.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002984/0.142, allocations: 110.4 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.1421, allocations: 0 / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.1421, allocations: 3.938 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.1421, allocations: 4 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005506/0.1426, allocations: 406.5 kB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1427, allocations: 0 / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.334e-05/0.1427, allocations: 19.92 kB / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.1428, allocations: 4 kB / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.1428, allocations: 3.938 kB / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.1428, allocations: 0 / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1428, allocations: 0 / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002943/0.1431, allocations: 199.4 kB / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.909e-05/0.1432, allocations: 93 kB / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.717e-05/0.1432, allocations: 7.922 kB / 486.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.582e-05/0.1433, allocations: 4 kB / 486.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.902e-05/0.1433, allocations: 4 kB / 486.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.1433, allocations: 7.984 kB / 486.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001218/0.1435, allocations: 118 kB / 486.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.567e-06/0.1435, allocations: 0 / 486.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003436/0.1438, allocations: 51.86 kB / 486.5 MB, free: 14.49 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 (8): * Single equations (assignments): 8 * 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.001862/0.1457, allocations: 1.119 MB / 487.6 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002833/0.146, allocations: 83.89 kB / 487.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.146, allocations: 0 / 487.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.915e-05/0.1461, allocations: 31.97 kB / 487.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003913/0.1465, allocations: 27.86 kB / 487.7 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001806/0.1483, allocations: 1.546 MB / 489.3 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.1486, allocations: 0.6963 MB / 490 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.305e-05/0.1487, allocations: 20.58 kB / 490 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.258e-05/0.1488, allocations: 31.52 kB / 490 MB, free: 10.97 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1488, allocations: 7.938 kB / 490 MB, free: 10.96 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03874/0.1875, allocations: 3.461 MB / 493.5 MB, free: 7.578 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.341/7.529, allocations: 12.92 kB / 493.5 MB, free: 7.566 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches