Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.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.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001281/0.001281, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001337/0.001337, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2086/0.2086, allocations: 46.09 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 76.66 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1183, allocations: 62.45 MB / 480.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.002931/0.1212, allocations: 1.596 MB / 481.7 MB, free: 3.594 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008434/0.1221, allocations: 0.526 MB / 482.3 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.614e-05/0.1222, allocations: 0 / 482.3 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001658/0.1223, allocations: 27.84 kB / 482.3 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002399/0.1226, allocations: 75.62 kB / 482.4 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002253/0.1228, allocations: 95.69 kB / 482.4 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000117/0.123, allocations: 55.91 kB / 482.5 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.274e-05/0.1231, allocations: 19.98 kB / 482.5 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.545e-05/0.1231, allocations: 27.8 kB / 482.6 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.037e-05/0.1232, allocations: 19.86 kB / 482.6 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.1232, allocations: 4 kB / 482.6 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.658e-05/0.1233, allocations: 28 kB / 482.6 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.246e-05/0.1233, allocations: 11.97 kB / 482.6 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.536e-05/0.1233, allocations: 23.81 kB / 482.6 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.1235, allocations: 76.08 kB / 482.7 MB, free: 2.605 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1235, allocations: 4 kB / 482.7 MB, free: 2.602 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1235, allocations: 0 / 482.7 MB, free: 2.602 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.1235, allocations: 3.984 kB / 482.7 MB, free: 2.598 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.0003849/0.1239, allocations: 383.1 kB / 483.1 MB, free: 2.176 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.1239, allocations: 12.03 kB / 483.1 MB, free: 2.164 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.24e-05/0.124, allocations: 38.67 kB / 483.1 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.832e-05/0.124, allocations: 12.84 kB / 483.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.1242, allocations: 182.7 kB / 483.3 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.1242, allocations: 4.375 kB / 483.3 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.1242, allocations: 8.375 kB / 483.3 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.1243, allocations: 49.61 kB / 483.4 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.1244, allocations: 0 / 483.4 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.1244, allocations: 4 kB / 483.4 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.1244, allocations: 0 / 483.4 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.259e-05/0.1245, allocations: 19.98 kB / 483.4 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002841/0.1248, allocations: 276.8 kB / 483.7 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001797/0.125, allocations: 46.56 kB / 483.7 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.74e-05/0.125, allocations: 16.94 kB / 483.7 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.125, allocations: 3.938 kB / 483.8 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.695e-05/0.1251, allocations: 30.56 kB / 483.8 MB, free: 1.363 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.1251, allocations: 0 / 483.8 MB, free: 1.363 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005047/0.1256, allocations: 153.2 kB / 483.9 MB, free: 1.207 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.1256, allocations: 55.39 kB / 484 MB, free: 1.141 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.1257, allocations: 148.6 kB / 484.1 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.1258, allocations: 33.64 kB / 484.2 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.098e-05/0.1258, allocations: 96.12 kB / 484.3 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.679e-05/0.1258, allocations: 7.812 kB / 484.3 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.382e-05/0.1259, allocations: 21.72 kB / 484.3 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.527e-05/0.126, allocations: 326.8 kB / 484.6 MB, free: 500 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.656e-05/0.126, allocations: 19.92 kB / 484.6 MB, free: 480 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.527e-05/0.1261, allocations: 15.98 kB / 484.6 MB, free: 464 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.1262, allocations: 48.83 kB / 484.7 MB, free: 412 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.1262, allocations: 0 / 484.7 MB, free: 412 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001689/0.1264, allocations: 81.58 kB / 484.8 MB, free: 324 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.1264, allocations: 4 kB / 484.8 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.1264, allocations: 0 / 484.8 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.1265, allocations: 0 / 484.8 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.488e-05/0.1265, allocations: 19.92 kB / 484.8 MB, free: 300 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.1265, allocations: 0 / 484.8 MB, free: 300 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.537e-05/0.1266, allocations: 15.92 kB / 484.8 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.1266, allocations: 3.938 kB / 484.8 MB, free: 280 kB / 350.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 6.942e-05/0.1267, allocations: 117.8 kB / 484.9 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.106e-05/0.1267, allocations: 8.188 kB / 484.9 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002141/0.1269, allocations: 85.97 kB / 485 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.127, allocations: 3.984 kB / 485 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.127, allocations: 0 / 485 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.127, allocations: 3.984 kB / 485 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003764/0.1273, allocations: 358.7 kB / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/0.1274, allocations: 8.062 kB / 485.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.535e-05/0.1274, allocations: 11.98 kB / 485.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1274, allocations: 0 / 485.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.1274, allocations: 0 / 485.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.1274, allocations: 3.938 kB / 485.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1275, allocations: 4 kB / 485.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002023/0.1277, allocations: 183.4 kB / 485.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.374e-05/0.1277, allocations: 77.11 kB / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.1277, allocations: 4 kB / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.049e-05/0.1278, allocations: 7.938 kB / 485.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.466e-05/0.1278, allocations: 7.984 kB / 485.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.1278, allocations: 0 / 485.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.638e-05/0.1279, allocations: 125.4 kB / 485.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1279, allocations: 0 / 485.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002451/0.1282, allocations: 15.91 kB / 485.8 MB, free: 15.16 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.001178/0.1294, allocations: 1.01 MB / 486.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001769/0.1296, allocations: 47.95 kB / 486.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1296, allocations: 4 kB / 486.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.246e-05/0.1296, allocations: 27.92 kB / 486.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002977/0.13, allocations: 17.95 kB / 486.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001415/0.1314, allocations: 1.423 MB / 488.3 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/0.1316, allocations: 0.6963 MB / 489 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.943e-05/0.1317, allocations: 7.984 kB / 489 MB, free: 11.94 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.611e-05/0.1317, allocations: 23.44 kB / 489.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1317, allocations: 3.938 kB / 489.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9208/1.053, allocations: 2.47 MB / 491.5 MB, free: 9.496 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.44/13.49, allocations: 1.078 kB / 491.5 MB, free: 9.496 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches