Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.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.CombiTable1Ds.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001534/0.001534, allocations: 121.8 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00126/0.001261, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 227.4 MB / 247 MB, free: 10.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.215/0.215, allocations: 46.12 MB / 344.4 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 72.09 kB / 480.9 MB, free: 4.438 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3178, allocations: 62.45 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.003049/0.3209, allocations: 1.603 MB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001829/0.3227, allocations: 1.152 MB / 0.5333 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.856e-05/0.3228, allocations: 0 / 0.5333 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002369/0.323, allocations: 25.44 kB / 0.5333 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002854/0.3233, allocations: 85.61 kB / 0.5334 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000251/0.3236, allocations: 89.83 kB / 0.5335 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001531/0.3238, allocations: 69.92 kB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.3239, allocations: 19.08 kB / 0.5336 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.013e-05/0.3239, allocations: 17.97 kB / 0.5336 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/0.3241, allocations: 35.42 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.3241, allocations: 2.656 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001638/0.3243, allocations: 99.19 kB / 0.5337 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.839e-05/0.3243, allocations: 15.42 kB / 0.5338 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.334e-05/0.3244, allocations: 28.27 kB / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.3246, allocations: 142.4 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3247, allocations: 1.094 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3247, allocations: 0 / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.144e-06/0.3247, allocations: 0 / 0.5339 GB, free: 10.79 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.0005313/0.3252, allocations: 404.3 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.3252, allocations: 8.281 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.71e-05/0.3253, allocations: 36.12 kB / 0.5344 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.544e-05/0.3253, allocations: 9.016 kB / 0.5344 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002244/0.3256, allocations: 192.5 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.833e-06/0.3256, allocations: 5.75 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.3256, allocations: 3.125 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.3258, allocations: 75.62 kB / 0.5346 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.3258, allocations: 0 / 0.5346 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.3258, allocations: 0 / 0.5346 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.3258, allocations: 5.312 kB / 0.5346 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.487e-05/0.3259, allocations: 20.36 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003684/0.3263, allocations: 284.1 kB / 0.5349 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.3265, allocations: 50.98 kB / 0.535 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.681e-05/0.3266, allocations: 15.67 kB / 0.535 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.3266, allocations: 1.375 kB / 0.535 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.3266, allocations: 34.56 kB / 0.535 GB, free: 9.613 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.3266, allocations: 4 kB / 0.535 GB, free: 9.609 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005475/0.3272, allocations: 142 kB / 0.5352 GB, free: 9.523 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.435e-05/0.3272, allocations: 78.48 kB / 0.5352 GB, free: 9.43 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.3274, allocations: 143.5 kB / 0.5354 GB, free: 9.309 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.3274, allocations: 27.08 kB / 0.5354 GB, free: 9.277 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.271e-05/0.3275, allocations: 98.81 kB / 0.5355 GB, free: 9.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.3275, allocations: 22.61 kB / 0.5355 GB, free: 9.16 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.653e-05/0.3276, allocations: 13.84 kB / 0.5355 GB, free: 9.145 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.3277, allocations: 325.5 kB / 0.5358 GB, free: 8.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.749e-05/0.3278, allocations: 17.61 kB / 0.5359 GB, free: 8.812 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.446e-05/0.3279, allocations: 31.45 kB / 0.5359 GB, free: 8.789 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.328, allocations: 50.86 kB / 0.5359 GB, free: 8.758 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.927e-06/0.328, allocations: 1.375 kB / 0.5359 GB, free: 8.758 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001718/0.3282, allocations: 79.81 kB / 0.536 GB, free: 8.703 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.3282, allocations: 5.5 kB / 0.536 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.3282, allocations: 0 / 0.536 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.3282, allocations: 1.375 kB / 0.536 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.106e-05/0.3283, allocations: 13.61 kB / 0.536 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.3283, allocations: 0 / 0.536 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.289e-05/0.3284, allocations: 16.05 kB / 0.536 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.3284, allocations: 1.375 kB / 0.536 GB, free: 8.688 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 8.497e-05/0.3285, allocations: 114 kB / 0.5362 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.341e-05/0.3285, allocations: 6.703 kB / 0.5362 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002354/0.3288, allocations: 93.53 kB / 0.5363 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.3288, allocations: 1.375 kB / 0.5363 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.3288, allocations: 320 / 0.5363 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3288, allocations: 7.938 kB / 0.5363 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004349/0.3292, allocations: 350.5 kB / 0.5366 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3292, allocations: 7.875 kB / 0.5366 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.405e-05/0.3293, allocations: 13.95 kB / 0.5366 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.3293, allocations: 1.406 kB / 0.5366 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.3293, allocations: 3.938 kB / 0.5366 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.3293, allocations: 1.125 kB / 0.5366 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3293, allocations: 0 / 0.5366 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000227/0.3296, allocations: 175.9 kB / 0.5368 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.001e-05/0.3296, allocations: 87.67 kB / 0.5369 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.167e-05/0.3296, allocations: 7.938 kB / 0.5369 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.083e-05/0.3297, allocations: 3.75 kB / 0.5369 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.122e-05/0.3298, allocations: 6.141 kB / 0.5369 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.9e-06/0.3298, allocations: 4.969 kB / 0.5369 GB, free: 7.844 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000101/0.3299, allocations: 116.8 kB / 0.537 GB, free: 7.75 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.803e-06/0.3299, allocations: 0 / 0.537 GB, free: 7.75 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002829/0.3302, allocations: 43.52 kB / 0.537 GB, free: 7.73 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.00203/0.3322, allocations: 1.092 MB / 0.5381 GB, free: 6.879 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002143/0.3324, allocations: 64.67 kB / 0.5382 GB, free: 6.844 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3325, allocations: 0 / 0.5382 GB, free: 6.844 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.448e-05/0.3325, allocations: 23.83 kB / 0.5382 GB, free: 6.836 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.3329, allocations: 25.48 kB / 0.5382 GB, free: 6.824 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/0.3345, allocations: 1.424 MB / 0.5396 GB, free: 5.504 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.3348, allocations: 0.701 MB / 0.5403 GB, free: 4.789 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.443e-05/0.3349, allocations: 24.02 kB / 0.5403 GB, free: 4.773 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.945e-05/0.335, allocations: 29.86 kB / 0.5403 GB, free: 4.754 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.335, allocations: 0 / 0.5403 GB, free: 4.754 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02502/0.36, allocations: 3.209 MB / 0.5435 GB, free: 2.914 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.734/8.094, allocations: 5.031 kB / 0.5435 GB, free: 2.91 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test24_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test24.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches