Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.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.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001319/0.001319, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0013/0.0013, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2008/0.2008, allocations: 46.1 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 80.23 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09425/0.09561, allocations: 62.44 MB / 480.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.002805/0.09845, allocations: 1.619 MB / 481.8 MB, free: 3.559 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009379/0.09941, allocations: 0.5455 MB / 482.3 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.92e-05/0.09949, allocations: 0 / 482.3 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002163/0.09972, allocations: 83.7 kB / 482.4 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002941/0.1, allocations: 99.64 kB / 482.5 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002878/0.1003, allocations: 111.7 kB / 482.6 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001411/0.1005, allocations: 83.83 kB / 482.7 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.687e-05/0.1006, allocations: 19.97 kB / 482.7 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.432e-05/0.1007, allocations: 31.86 kB / 482.7 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.242e-05/0.1008, allocations: 55.81 kB / 482.8 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.1008, allocations: 4 kB / 482.8 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.787e-05/0.1009, allocations: 47.98 kB / 482.8 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.77e-05/0.1009, allocations: 23.91 kB / 482.8 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.776e-05/0.101, allocations: 31.75 kB / 482.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.1011, allocations: 104 kB / 483 MB, free: 2.324 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1011, allocations: 0 / 483 MB, free: 2.324 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.51e-07/0.1012, allocations: 7.875 kB / 483 MB, free: 2.316 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.1012, allocations: 0 / 483 MB, free: 2.316 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004081/0.1016, allocations: 411 kB / 483.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.1016, allocations: 8.031 kB / 483.4 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.112e-05/0.1017, allocations: 38.73 kB / 483.4 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.053e-05/0.1017, allocations: 16.84 kB / 483.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.1019, allocations: 196.8 kB / 483.6 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.226e-06/0.1019, allocations: 384 / 483.6 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.577e-05/0.1019, allocations: 384 / 483.6 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.102, allocations: 65.55 kB / 483.7 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.102, allocations: 3.906 kB / 483.7 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.1021, allocations: 3.984 kB / 483.7 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.1021, allocations: 0 / 483.7 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.85e-05/0.1022, allocations: 23.98 kB / 483.7 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003492/0.1025, allocations: 308.8 kB / 484 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.395e-05/0.1026, allocations: 50.5 kB / 484.1 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.552e-05/0.1027, allocations: 16.94 kB / 484.1 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.1027, allocations: 0 / 484.1 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.1027, allocations: 38.56 kB / 484.1 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.1027, allocations: 0 / 484.1 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008124/0.1036, allocations: 229.4 kB / 484.4 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.1036, allocations: 63.34 kB / 484.4 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.1038, allocations: 222.3 kB / 484.6 MB, free: 464 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.1038, allocations: 25.7 kB / 484.7 MB, free: 432 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.374e-05/0.1039, allocations: 112.1 kB / 484.8 MB, free: 316 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.053e-05/0.1039, allocations: 27.56 kB / 484.8 MB, free: 288 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.879e-05/0.104, allocations: 29.7 kB / 484.8 MB, free: 252 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.1041, allocations: 322.8 kB / 485.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.846e-05/0.1042, allocations: 27.98 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.072e-05/0.1042, allocations: 39.97 kB / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.1044, allocations: 68.83 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.1044, allocations: 0 / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002035/0.1046, allocations: 109.6 kB / 485.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.1046, allocations: 4 kB / 485.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1046, allocations: 3.984 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.1047, allocations: 8 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.805e-05/0.1048, allocations: 12 kB / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.1048, allocations: 3.938 kB / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.401e-05/0.1048, allocations: 15.92 kB / 485.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.1048, allocations: 4 kB / 485.4 MB, free: 15.62 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 (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 prepare postOptimizeDAE: time 8.272e-05/0.1049, allocations: 125.8 kB / 485.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.616e-05/0.105, allocations: 19.8 kB / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002652/0.1052, allocations: 139 kB / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1052, allocations: 0 / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.1052, allocations: 3.938 kB / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.1053, allocations: 0 / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004652/0.1057, allocations: 423.3 kB / 486.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1057, allocations: 0 / 486.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.982e-05/0.1058, allocations: 31.89 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1058, allocations: 0 / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.1058, allocations: 0 / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.1058, allocations: 4 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1058, allocations: 0 / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00024/0.1061, allocations: 216.6 kB / 486.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.281e-05/0.1061, allocations: 92.94 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.1062, allocations: 4 kB / 486.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.181e-05/0.1062, allocations: 7.938 kB / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.345e-05/0.1063, allocations: 11.92 kB / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.1063, allocations: 0 / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001178/0.1064, allocations: 164.2 kB / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1064, allocations: 0 / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002363/0.1067, allocations: 20 kB / 486.7 MB, free: 14.27 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: 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.001297/0.108, allocations: 1.094 MB / 487.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000212/0.1082, allocations: 79.88 kB / 487.9 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1082, allocations: 0 / 487.9 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.971e-05/0.1083, allocations: 43.91 kB / 487.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.1086, allocations: 15.98 kB / 487.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/0.1103, allocations: 1.705 MB / 489.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.1105, allocations: 0.7041 MB / 490.3 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.255e-05/0.1106, allocations: 24.95 kB / 490.3 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.347e-05/0.1107, allocations: 39.42 kB / 490.4 MB, free: 10.6 MB / 366.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1107, allocations: 0 / 490.4 MB, free: 10.6 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7105/0.8212, allocations: 3.078 MB / 493.5 MB, free: 7.574 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.434/8.255, allocations: 8.109 kB / 493.5 MB, free: 7.57 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test30_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test30.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches