Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.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.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001151/0.001152, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001229/0.001229, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 227.4 MB / 247 MB, free: 10.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2089/0.2089, allocations: 46.12 MB / 344.4 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002114/0.002114, allocations: 87.84 kB / 480.9 MB, free: 4.457 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3126, allocations: 62.45 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.002895/0.3156, allocations: 1.602 MB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009651/0.3165, allocations: 0.5424 MB / 0.5327 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.315e-05/0.3166, allocations: 0 / 0.5327 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002106/0.3168, allocations: 31.77 kB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002564/0.3171, allocations: 81.59 kB / 0.5328 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002875/0.3174, allocations: 110.2 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001385/0.3175, allocations: 61.05 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.598e-05/0.3176, allocations: 15.64 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.966e-05/0.3177, allocations: 24.11 kB / 0.533 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.279e-05/0.3178, allocations: 26.67 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.3178, allocations: 2.75 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.767e-05/0.3179, allocations: 36.61 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.83e-05/0.3179, allocations: 13.42 kB / 0.5331 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.05e-05/0.318, allocations: 27.92 kB / 0.5331 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001708/0.3182, allocations: 83.02 kB / 0.5332 GB, free: 11.35 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3182, allocations: 0 / 0.5332 GB, free: 11.35 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3182, allocations: 3.938 kB / 0.5332 GB, free: 11.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.3182, allocations: 0 / 0.5332 GB, free: 11.34 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004928/0.3187, allocations: 402.2 kB / 0.5336 GB, free: 10.93 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.3187, allocations: 9.625 kB / 0.5336 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.257e-05/0.3188, allocations: 32.12 kB / 0.5337 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.551e-05/0.3188, allocations: 16.95 kB / 0.5337 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001847/0.319, allocations: 190.4 kB / 0.5339 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.319, allocations: 9.5 kB / 0.5339 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.319, allocations: 1.375 kB / 0.5339 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.3192, allocations: 52.67 kB / 0.5339 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.3192, allocations: 1.375 kB / 0.5339 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-06/0.3192, allocations: 0 / 0.5339 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.3192, allocations: 1.375 kB / 0.5339 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.203e-05/0.3193, allocations: 25.67 kB / 0.5339 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003637/0.3197, allocations: 284.3 kB / 0.5342 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001929/0.3199, allocations: 45.81 kB / 0.5343 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.297e-05/0.32, allocations: 19.8 kB / 0.5343 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.32, allocations: 1.375 kB / 0.5343 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.32, allocations: 38.5 kB / 0.5343 GB, free: 10.19 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.32, allocations: 0 / 0.5343 GB, free: 10.19 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005374/0.3206, allocations: 156 kB / 0.5345 GB, free: 10.1 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.3206, allocations: 56.75 kB / 0.5345 GB, free: 10.03 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.3208, allocations: 188.4 kB / 0.5347 GB, free: 9.879 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.3208, allocations: 25.7 kB / 0.5347 GB, free: 9.848 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.801e-05/0.3209, allocations: 93.02 kB / 0.5348 GB, free: 9.758 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.534e-05/0.3209, allocations: 26.59 kB / 0.5348 GB, free: 9.734 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.552e-05/0.321, allocations: 21.31 kB / 0.5349 GB, free: 9.711 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.3211, allocations: 321.7 kB / 0.5352 GB, free: 9.391 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.221e-05/0.3212, allocations: 20.27 kB / 0.5352 GB, free: 9.383 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.154e-05/0.3212, allocations: 20.45 kB / 0.5352 GB, free: 9.375 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.3214, allocations: 50.95 kB / 0.5352 GB, free: 9.348 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3214, allocations: 192 / 0.5352 GB, free: 9.348 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000198/0.3216, allocations: 96.78 kB / 0.5353 GB, free: 9.281 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.3216, allocations: 8.312 kB / 0.5353 GB, free: 9.277 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3216, allocations: 0 / 0.5353 GB, free: 9.277 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.3216, allocations: 1.375 kB / 0.5353 GB, free: 9.277 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.309e-05/0.3217, allocations: 13.52 kB / 0.5354 GB, free: 9.273 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.3217, allocations: 3.938 kB / 0.5354 GB, free: 9.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.047e-05/0.3218, allocations: 7.969 kB / 0.5354 GB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.3218, allocations: 1.219 kB / 0.5354 GB, free: 9.266 MB / 398.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.0001041/0.3219, allocations: 125 kB / 0.5355 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.222e-05/0.3219, allocations: 8.641 kB / 0.5355 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002459/0.3222, allocations: 96.61 kB / 0.5356 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3222, allocations: 5.125 kB / 0.5356 GB, free: 9.066 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.3222, allocations: 5.156 kB / 0.5356 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.3222, allocations: 0 / 0.5356 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004414/0.3227, allocations: 353.9 kB / 0.5359 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3227, allocations: 0 / 0.5359 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.724e-05/0.3227, allocations: 13.83 kB / 0.536 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.3227, allocations: 3.938 kB / 0.536 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.3228, allocations: 5.281 kB / 0.536 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3228, allocations: 0 / 0.536 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3228, allocations: 1.5 kB / 0.536 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002375/0.323, allocations: 186.5 kB / 0.5361 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.364e-05/0.3231, allocations: 87.86 kB / 0.5362 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.3231, allocations: 7.938 kB / 0.5362 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.743e-05/0.3232, allocations: 7.672 kB / 0.5362 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.565e-05/0.3232, allocations: 6.406 kB / 0.5362 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.3232, allocations: 1.25 kB / 0.5362 GB, free: 8.418 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001094/0.3233, allocations: 136.8 kB / 0.5364 GB, free: 8.32 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.144e-06/0.3233, allocations: 0 / 0.5364 GB, free: 8.32 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002305/0.3236, allocations: 22.88 kB / 0.5364 GB, free: 8.309 MB / 398.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.001771/0.3254, allocations: 1.013 MB / 0.5374 GB, free: 7.492 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000197/0.3256, allocations: 54.22 kB / 0.5374 GB, free: 7.469 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3256, allocations: 1.375 kB / 0.5374 GB, free: 7.469 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.032e-05/0.3257, allocations: 37.12 kB / 0.5375 GB, free: 7.449 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.326, allocations: 13.53 kB / 0.5375 GB, free: 7.445 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001725/0.3277, allocations: 1.517 MB / 0.539 GB, free: 6.09 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.3281, allocations: 0.7061 MB / 0.5397 GB, free: 5.375 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.571e-05/0.3281, allocations: 11.86 kB / 0.5397 GB, free: 5.371 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.332e-05/0.3282, allocations: 28.77 kB / 0.5397 GB, free: 5.348 MB / 398.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3282, allocations: 3.938 kB / 0.5397 GB, free: 5.344 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02224/0.3504, allocations: 2.673 MB / 0.5423 GB, free: 3.84 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.629/7.98, allocations: 16.12 kB / 0.5423 GB, free: 3.832 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test12_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test12.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches