Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.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.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001061/0.001061, 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.001297/0.001297, 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.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2071/0.2071, allocations: 46.09 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 69.09 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1057, allocations: 62.45 MB / 480.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.003317/0.109, allocations: 1.588 MB / 481.7 MB, free: 3.602 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001797/0.1109, allocations: 1.167 MB / 482.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.436e-05/0.111, allocations: 0 / 482.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002594/0.1112, allocations: 35.78 kB / 482.9 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003614/0.1117, allocations: 87.61 kB / 483 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003748/0.112, allocations: 119.4 kB / 483.1 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001615/0.1122, allocations: 63.89 kB / 483.2 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.1123, allocations: 12 kB / 483.2 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.249e-05/0.1124, allocations: 23.86 kB / 483.2 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001744/0.1126, allocations: 35.78 kB / 483.3 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.1126, allocations: 4 kB / 483.3 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002125/0.1128, allocations: 95.94 kB / 483.4 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.432e-05/0.1129, allocations: 15.98 kB / 483.4 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.223e-05/0.1129, allocations: 31.78 kB / 483.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002773/0.1132, allocations: 136 kB / 483.5 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1132, allocations: 0 / 483.5 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1132, allocations: 0 / 483.5 MB, free: 1.781 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.1133, allocations: 0 / 483.5 MB, free: 1.781 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.0006124/0.1139, allocations: 399.1 kB / 483.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.1139, allocations: 8.031 kB / 483.9 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.693e-05/0.114, allocations: 34.75 kB / 484 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.22e-05/0.114, allocations: 8.844 kB / 484 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002072/0.1142, allocations: 200.2 kB / 484.2 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-06/0.1142, allocations: 384 / 484.2 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.1143, allocations: 4.375 kB / 484.2 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.1144, allocations: 71.27 kB / 484.2 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.1144, allocations: 0 / 484.2 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.1144, allocations: 0 / 484.2 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.1145, allocations: 3.938 kB / 484.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.38e-05/0.1146, allocations: 27.98 kB / 484.3 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000359/0.1149, allocations: 284.9 kB / 484.6 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002079/0.1151, allocations: 42.5 kB / 484.6 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.887e-05/0.1152, allocations: 20.94 kB / 484.6 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.1153, allocations: 0 / 484.6 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.1153, allocations: 34.56 kB / 484.7 MB, free: 500 kB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.1153, allocations: 4 kB / 484.7 MB, free: 496 kB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005498/0.1159, allocations: 153.2 kB / 484.8 MB, free: 336 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.1159, allocations: 77.11 kB / 484.9 MB, free: 240 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.1161, allocations: 152.1 kB / 485 MB, free: 80 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.1161, allocations: 29.7 kB / 485.1 MB, free: 44 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.859e-05/0.1162, allocations: 92.14 kB / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.617e-05/0.1162, allocations: 19.7 kB / 485.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.94e-05/0.1163, allocations: 17.72 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.1164, allocations: 322.8 kB / 485.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.347e-05/0.1165, allocations: 19.98 kB / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.216e-05/0.1166, allocations: 41.64 kB / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.1167, allocations: 53.02 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1167, allocations: 0 / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001964/0.1169, allocations: 85.66 kB / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.1169, allocations: 4 kB / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-06/0.117, allocations: 0 / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.117, allocations: 4 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.727e-05/0.1171, allocations: 16.02 kB / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.1171, allocations: 0 / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.282e-05/0.1171, allocations: 11.84 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.1171, allocations: 3.984 kB / 485.7 MB, free: 15.33 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.809e-05/0.1172, allocations: 121.8 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.429e-05/0.1173, allocations: 0 / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002616/0.1175, allocations: 105.8 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1176, allocations: 4.281 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1176, allocations: 0 / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.1176, allocations: 3.938 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004067/0.118, allocations: 366.5 kB / 486.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.118, allocations: 3.984 kB / 486.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.565e-05/0.1181, allocations: 8 kB / 486.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1181, allocations: 0 / 486.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.1181, allocations: 11.92 kB / 486.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1181, allocations: 4 kB / 486.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1181, allocations: 0 / 486.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002265/0.1183, allocations: 187.5 kB / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.51e-05/0.1184, allocations: 81.05 kB / 486.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.217e-05/0.1184, allocations: 8 kB / 486.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.455e-05/0.1185, allocations: 4 kB / 486.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.1185, allocations: 15.92 kB / 486.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.1185, allocations: 0 / 486.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.421e-05/0.1186, allocations: 113.3 kB / 486.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1186, allocations: 0 / 486.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002686/0.1189, allocations: 39.98 kB / 486.8 MB, free: 14.17 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.001388/0.1203, allocations: 1.088 MB / 487.9 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002027/0.1205, allocations: 59.84 kB / 487.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1205, allocations: 0 / 487.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.682e-05/0.1206, allocations: 27.97 kB / 488 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.1209, allocations: 18.64 kB / 488 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001557/0.1225, allocations: 1.447 MB / 489.4 MB, free: 11.6 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.1228, allocations: 0.6924 MB / 490.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.046e-05/0.1229, allocations: 20.2 kB / 490.1 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.003e-05/0.1229, allocations: 31.41 kB / 490.2 MB, free: 10.83 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1229, allocations: 0 / 490.2 MB, free: 10.83 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02045/0.1434, allocations: 3.146 MB / 493.3 MB, free: 7.734 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.247/8.39, allocations: 15.73 kB / 493.3 MB, free: 7.723 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test21_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches