Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.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.CombiTable2Ds.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00131/0.00131, allocations: 121.7 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001445/0.001445, allocations: 199.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2268/0.2268, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 75.88 kB / 480.8 MB, free: 4.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4017/0.4031, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.003759/0.4069, allocations: 2.034 MB / 0.5325 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002225/0.4092, allocations: 1.242 MB / 0.5337 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001296/0.4093, allocations: 6.75 kB / 0.5337 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002603/0.4096, allocations: 47.7 kB / 0.5338 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004925/0.4101, allocations: 206.6 kB / 0.534 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.4113, allocations: 445.8 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004178/0.4118, allocations: 295.2 kB / 0.5347 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001883/0.412, allocations: 60.73 kB / 0.5347 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002832/0.4123, allocations: 134.5 kB / 0.5349 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003903/0.4127, allocations: 181.8 kB / 0.535 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.559e-05/0.4127, allocations: 17.78 kB / 0.535 GB, free: 10 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002499/0.413, allocations: 68.72 kB / 0.5351 GB, free: 9.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002354/0.4133, allocations: 138.6 kB / 0.5352 GB, free: 9.902 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002282/0.4135, allocations: 175.6 kB / 0.5354 GB, free: 9.762 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006854/0.4142, allocations: 405.5 kB / 0.5358 GB, free: 9.504 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.4142, allocations: 1.094 kB / 0.5358 GB, free: 9.504 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4142, allocations: 0 / 0.5358 GB, free: 9.504 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.787e-05/0.4143, allocations: 4 kB / 0.5358 GB, free: 9.5 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001686/0.416, allocations: 0.7924 MB / 0.5366 GB, free: 8.805 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.989e-05/0.416, allocations: 10.25 kB / 0.5366 GB, free: 8.805 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.406e-05/0.4161, allocations: 45.52 kB / 0.5366 GB, free: 8.754 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004962/0.4167, allocations: 77 kB / 0.5367 GB, free: 8.715 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/0.4177, allocations: 464.3 kB / 0.5371 GB, free: 8.352 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/0.4177, allocations: 8 kB / 0.5372 GB, free: 8.348 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.62e-05/0.4178, allocations: 23.16 kB / 0.5372 GB, free: 8.332 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004205/0.4183, allocations: 128.6 kB / 0.5373 GB, free: 8.238 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.4183, allocations: 5.031 kB / 0.5373 GB, free: 8.234 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.422e-05/0.4183, allocations: 5.125 kB / 0.5373 GB, free: 8.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.4183, allocations: 2.406 kB / 0.5373 GB, free: 8.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003319/0.4187, allocations: 74.8 kB / 0.5374 GB, free: 8.199 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001267/0.42, allocations: 0.6848 MB / 0.5381 GB, free: 7.629 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002361/0.4202, allocations: 104.6 kB / 0.5382 GB, free: 7.551 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.4203, allocations: 48.11 kB / 0.5382 GB, free: 7.516 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.346e-05/0.4204, allocations: 6.469 kB / 0.5382 GB, free: 7.512 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.4204, allocations: 39.89 kB / 0.5382 GB, free: 7.465 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.4204, allocations: 0 / 0.5382 GB, free: 7.465 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001551/0.422, allocations: 0.5227 MB / 0.5388 GB, free: 7.148 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.1e-05/0.4221, allocations: 79.02 kB / 0.5388 GB, free: 7.055 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001304/0.4234, allocations: 0.9234 MB / 0.5397 GB, free: 6.621 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.4234, allocations: 25.7 kB / 0.5398 GB, free: 6.59 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002225/0.4237, allocations: 262.5 kB / 0.54 GB, free: 6.359 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.173e-05/0.4237, allocations: 53.2 kB / 0.5401 GB, free: 6.312 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.887e-05/0.4238, allocations: 32.58 kB / 0.5401 GB, free: 6.285 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.424, allocations: 386 kB / 0.5405 GB, free: 5.918 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/0.4242, allocations: 55.78 kB / 0.5405 GB, free: 5.895 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/0.4243, allocations: 67.58 kB / 0.5406 GB, free: 5.855 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003455/0.4247, allocations: 145.5 kB / 0.5407 GB, free: 5.773 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.4247, allocations: 0 / 0.5407 GB, free: 5.773 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005028/0.4252, allocations: 227.5 kB / 0.5409 GB, free: 5.648 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.4252, allocations: 9.625 kB / 0.5409 GB, free: 5.645 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.4253, allocations: 0 / 0.5409 GB, free: 5.645 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.4253, allocations: 6.016 kB / 0.5409 GB, free: 5.641 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002174/0.4255, allocations: 47.94 kB / 0.541 GB, free: 5.621 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.4255, allocations: 1.188 kB / 0.541 GB, free: 5.621 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/0.4257, allocations: 15.61 kB / 0.541 GB, free: 5.613 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.691e-05/0.4257, allocations: 4.281 kB / 0.541 GB, free: 5.613 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * 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.0002699/0.426, allocations: 216.3 kB / 0.5412 GB, free: 5.453 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.4261, allocations: 58.03 kB / 0.5413 GB, free: 5.422 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006417/0.4267, allocations: 265.5 kB / 0.5415 GB, free: 5.27 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.329e-06/0.4268, allocations: 1.438 kB / 0.5415 GB, free: 5.27 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.4268, allocations: 1.281 kB / 0.5415 GB, free: 5.27 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.4268, allocations: 0 / 0.5415 GB, free: 5.27 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.4279, allocations: 0.7877 MB / 0.5423 GB, free: 4.633 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.4279, allocations: 5.406 kB / 0.5423 GB, free: 4.629 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001627/0.428, allocations: 35.97 kB / 0.5423 GB, free: 4.621 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.428, allocations: 1.344 kB / 0.5423 GB, free: 4.621 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.4281, allocations: 5.375 kB / 0.5423 GB, free: 4.617 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.4281, allocations: 9.094 kB / 0.5424 GB, free: 4.609 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.4281, allocations: 1.375 kB / 0.5424 GB, free: 4.609 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005172/0.4286, allocations: 399.1 kB / 0.5427 GB, free: 4.309 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001571/0.4288, allocations: 153.5 kB / 0.5429 GB, free: 4.168 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.39e-05/0.4288, allocations: 10.14 kB / 0.5429 GB, free: 4.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/0.429, allocations: 15.09 kB / 0.5429 GB, free: 4.152 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.976e-05/0.4291, allocations: 14.59 kB / 0.5429 GB, free: 4.145 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.4291, allocations: 13.03 kB / 0.5429 GB, free: 4.137 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009021/0.43, allocations: 0.6716 MB / 0.5436 GB, free: 3.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.43, allocations: 0 / 0.5436 GB, free: 3.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003719/0.4304, allocations: 58.38 kB / 0.5436 GB, free: 3.809 MB / 398.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 (16): * Single equations (assignments): 16 * 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.001626/0.432, allocations: 1.221 MB / 0.5448 GB, free: 2.855 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004435/0.4325, allocations: 151.4 kB / 0.545 GB, free: 2.723 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4325, allocations: 0 / 0.545 GB, free: 2.723 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001847/0.4327, allocations: 79.89 kB / 0.5451 GB, free: 2.645 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006161/0.4333, allocations: 83.42 kB / 0.5451 GB, free: 2.574 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006247/0.4396, allocations: 5.043 MB / 0.5501 GB, free: 13.44 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004724/0.4401, allocations: 0.8614 MB / 0.5509 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001876/0.4403, allocations: 87.81 kB / 0.551 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002292/0.4405, allocations: 175.4 kB / 0.5512 GB, free: 12.29 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4405, allocations: 0 / 0.5512 GB, free: 12.29 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02896/0.4695, allocations: 10.06 MB / 0.561 GB, free: 2.324 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.538/9.008, allocations: 8.047 kB / 0.561 GB, free: 2.32 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test22.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches