Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_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.001823/0.001823, 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.002007/0.002007, 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.37/1.37, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2066/0.2066, allocations: 46.1 MB / 344.1 MB, free: 11.63 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 76.88 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09792/0.09924, allocations: 62.44 MB / 480.1 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.003338/0.1026, allocations: 1.588 MB / 481.7 MB, free: 3.605 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001128/0.1038, allocations: 0.5338 MB / 482.3 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.416e-05/0.1039, allocations: 7.938 kB / 482.3 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001929/0.1041, allocations: 19.86 kB / 482.3 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000333/0.1044, allocations: 83.61 kB / 482.4 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002921/0.1047, allocations: 111.7 kB / 482.5 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.1049, allocations: 55.91 kB / 482.5 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.84e-05/0.105, allocations: 19.98 kB / 482.6 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.414e-05/0.105, allocations: 27.84 kB / 482.6 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.509e-05/0.1051, allocations: 27.8 kB / 482.6 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.1051, allocations: 0 / 482.6 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.466e-05/0.1052, allocations: 32 kB / 482.6 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.061e-05/0.1052, allocations: 11.98 kB / 482.6 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.916e-05/0.1053, allocations: 27.8 kB / 482.7 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00014/0.1054, allocations: 72.08 kB / 482.7 MB, free: 2.578 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.1054, allocations: 7.984 kB / 482.8 MB, free: 2.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1054, allocations: 0 / 482.8 MB, free: 2.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.1054, allocations: 0 / 482.8 MB, free: 2.57 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.000396/0.1058, allocations: 383.1 kB / 483.1 MB, free: 2.148 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.1059, allocations: 8.031 kB / 483.1 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.18e-05/0.1059, allocations: 42.73 kB / 483.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.704e-05/0.106, allocations: 8.781 kB / 483.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.1061, allocations: 194.8 kB / 483.4 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.755e-06/0.1061, allocations: 384 / 483.4 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.1062, allocations: 4.312 kB / 483.4 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.1063, allocations: 53.61 kB / 483.4 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.1063, allocations: 4 kB / 483.4 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.667e-06/0.1064, allocations: 4 kB / 483.4 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.1064, allocations: 4 kB / 483.4 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.295e-05/0.1065, allocations: 19.98 kB / 483.5 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003658/0.1068, allocations: 284.8 kB / 483.7 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/0.107, allocations: 42.56 kB / 483.8 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.1071, allocations: 20.94 kB / 483.8 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.1072, allocations: 0 / 483.8 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.595e-05/0.1072, allocations: 34.56 kB / 483.8 MB, free: 1.316 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 7.62e-07/0.1072, allocations: 0 / 483.8 MB, free: 1.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005201/0.1077, allocations: 157.2 kB / 484 MB, free: 1.156 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.1077, allocations: 51.41 kB / 484 MB, free: 1.094 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.1079, allocations: 156.5 kB / 484.2 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.1079, allocations: 25.7 kB / 484.2 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.166e-05/0.1079, allocations: 92.14 kB / 484.3 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.143e-05/0.108, allocations: 11.8 kB / 484.3 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.189e-05/0.108, allocations: 21.66 kB / 484.3 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.388e-05/0.1081, allocations: 326.8 kB / 484.7 MB, free: 452 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.391e-05/0.1082, allocations: 23.98 kB / 484.7 MB, free: 428 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.047e-05/0.1083, allocations: 19.98 kB / 484.7 MB, free: 408 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.1084, allocations: 60.95 kB / 484.8 MB, free: 344 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.1084, allocations: 0 / 484.8 MB, free: 344 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001771/0.1086, allocations: 85.56 kB / 484.8 MB, free: 252 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.1086, allocations: 4 kB / 484.9 MB, free: 248 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1086, allocations: 4 kB / 484.9 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.1086, allocations: 4 kB / 484.9 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.213e-05/0.1087, allocations: 15.92 kB / 484.9 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.1087, allocations: 0 / 484.9 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.21e-05/0.1088, allocations: 7.938 kB / 484.9 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.1088, allocations: 3.938 kB / 484.9 MB, free: 212 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 0.0001132/0.1089, allocations: 121.8 kB / 485 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.306e-05/0.1089, allocations: 7.906 kB / 485 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002324/0.1092, allocations: 97.95 kB / 485.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1092, allocations: 0 / 485.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.742e-05/0.1092, allocations: 4 kB / 485.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.1092, allocations: 0 / 485.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004143/0.1096, allocations: 362.3 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1096, allocations: 0 / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.418e-05/0.1097, allocations: 15.98 kB / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.1097, allocations: 4 kB / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.1097, allocations: 3.938 kB / 485.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.1097, allocations: 3.938 kB / 485.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1097, allocations: 0 / 485.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002135/0.1099, allocations: 191.8 kB / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.392e-05/0.11, allocations: 77.11 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.11, allocations: 8 kB / 485.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.522e-05/0.1101, allocations: 7.922 kB / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.788e-05/0.1101, allocations: 7.984 kB / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.1101, allocations: 4 kB / 485.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.658e-05/0.1102, allocations: 117.5 kB / 485.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1102, allocations: 0 / 485.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002303/0.1105, allocations: 23.91 kB / 485.9 MB, free: 15.07 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.001166/0.1116, allocations: 1.009 MB / 486.9 MB, free: 14.17 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001833/0.1118, allocations: 47.97 kB / 487 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1118, allocations: 4 kB / 487 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.896e-05/0.1119, allocations: 35.91 kB / 487 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.1122, allocations: 25.95 kB / 487 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/0.1137, allocations: 1.445 MB / 488.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002142/0.1139, allocations: 0.7041 MB / 489.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.927e-05/0.1139, allocations: 11.98 kB / 489.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.335e-05/0.114, allocations: 23.42 kB / 489.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.114, allocations: 0 / 489.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0263/0.1403, allocations: 2.494 MB / 491.7 MB, free: 9.328 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.946/8.086, allocations: 5.016 kB / 491.7 MB, free: 9.324 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches