Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.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.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001214/0.001214, allocations: 122.2 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.001277/0.001277, 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.361/1.361, 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.2182/0.2182, allocations: 46.12 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 75.88 kB / 480.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3211, allocations: 62.45 MB / 0.5306 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.002882/0.324, allocations: 1.605 MB / 0.5322 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001672/0.3257, allocations: 1.152 MB / 0.5333 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.156e-05/0.3258, allocations: 1.438 kB / 0.5333 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002162/0.326, allocations: 31.98 kB / 0.5334 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002661/0.3263, allocations: 85.42 kB / 0.5334 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002432/0.3265, allocations: 83.38 kB / 0.5335 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001617/0.3267, allocations: 70.59 kB / 0.5336 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.96e-05/0.3268, allocations: 14.06 kB / 0.5336 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.115e-05/0.3269, allocations: 22.45 kB / 0.5336 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.327, allocations: 33.86 kB / 0.5337 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.327, allocations: 7.875 kB / 0.5337 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001737/0.3272, allocations: 99 kB / 0.5338 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.077e-05/0.3273, allocations: 15.3 kB / 0.5338 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.252e-05/0.3273, allocations: 24.5 kB / 0.5338 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002505/0.3276, allocations: 143 kB / 0.5339 GB, free: 10.7 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3276, allocations: 0 / 0.5339 GB, free: 10.7 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3276, allocations: 0 / 0.5339 GB, free: 10.7 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.3276, allocations: 0 / 0.5339 GB, free: 10.7 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.0005594/0.3282, allocations: 400.2 kB / 0.5343 GB, free: 10.28 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.3282, allocations: 13.12 kB / 0.5343 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.546e-05/0.3283, allocations: 36.22 kB / 0.5344 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.541e-05/0.3283, allocations: 8.734 kB / 0.5344 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.3286, allocations: 193.6 kB / 0.5346 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.3286, allocations: 4.359 kB / 0.5346 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.3286, allocations: 5.953 kB / 0.5346 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.3288, allocations: 64.19 kB / 0.5346 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.3288, allocations: 1.969 kB / 0.5346 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.3288, allocations: 0 / 0.5346 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.3288, allocations: 7.938 kB / 0.5346 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.134e-05/0.3289, allocations: 29.34 kB / 0.5347 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003691/0.3293, allocations: 274.8 kB / 0.5349 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001932/0.3295, allocations: 39.28 kB / 0.535 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.302e-05/0.3296, allocations: 15.47 kB / 0.535 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.3296, allocations: 13.08 kB / 0.535 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.3296, allocations: 40 kB / 0.535 GB, free: 9.516 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.3296, allocations: 0 / 0.535 GB, free: 9.516 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005573/0.3302, allocations: 141.8 kB / 0.5352 GB, free: 9.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.604e-05/0.3303, allocations: 78.48 kB / 0.5352 GB, free: 9.336 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/0.3305, allocations: 151.7 kB / 0.5354 GB, free: 9.207 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.3305, allocations: 25.7 kB / 0.5354 GB, free: 9.176 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.643e-05/0.3306, allocations: 96.2 kB / 0.5355 GB, free: 9.082 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.233e-05/0.3306, allocations: 21.22 kB / 0.5355 GB, free: 9.062 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.889e-05/0.3306, allocations: 15.22 kB / 0.5355 GB, free: 9.047 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.3308, allocations: 324.1 kB / 0.5358 GB, free: 8.723 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.015e-05/0.3309, allocations: 18.98 kB / 0.5359 GB, free: 8.715 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.717e-05/0.331, allocations: 34.08 kB / 0.5359 GB, free: 8.688 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.3311, allocations: 48.2 kB / 0.5359 GB, free: 8.66 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3311, allocations: 0 / 0.5359 GB, free: 8.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001901/0.3313, allocations: 81.19 kB / 0.536 GB, free: 8.605 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.3314, allocations: 5.5 kB / 0.536 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.3314, allocations: 0 / 0.536 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.3314, allocations: 4.031 kB / 0.536 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.546e-05/0.3315, allocations: 13.61 kB / 0.536 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.3315, allocations: 1.375 kB / 0.536 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.673e-05/0.3315, allocations: 6.688 kB / 0.5361 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.3316, allocations: 2.75 kB / 0.5361 GB, free: 8.594 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.0001219/0.3317, allocations: 116.6 kB / 0.5362 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.328e-05/0.3317, allocations: 8.078 kB / 0.5362 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002617/0.332, allocations: 97.53 kB / 0.5363 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.332, allocations: 0 / 0.5363 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.332, allocations: 1.375 kB / 0.5363 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.332, allocations: 3.938 kB / 0.5363 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000478/0.3325, allocations: 342.9 kB / 0.5366 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.82e-06/0.3325, allocations: 11.92 kB / 0.5366 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.542e-05/0.3326, allocations: 13.56 kB / 0.5366 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3326, allocations: 0 / 0.5366 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.3326, allocations: 9.312 kB / 0.5366 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.3326, allocations: 1.375 kB / 0.5366 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3326, allocations: 0 / 0.5366 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002617/0.3329, allocations: 175.1 kB / 0.5368 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.19e-05/0.333, allocations: 83.25 kB / 0.5369 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.333, allocations: 9.094 kB / 0.5369 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.711e-05/0.3331, allocations: 11.23 kB / 0.5369 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.861e-05/0.3331, allocations: 2.562 kB / 0.5369 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.3331, allocations: 1.062 kB / 0.5369 GB, free: 7.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001045/0.3332, allocations: 116.3 kB / 0.537 GB, free: 7.656 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3332, allocations: 5.031 kB / 0.537 GB, free: 7.652 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002982/0.3335, allocations: 39.36 kB / 0.5371 GB, free: 7.637 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.002248/0.3358, allocations: 1.103 MB / 0.5381 GB, free: 6.777 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002037/0.336, allocations: 48.62 kB / 0.5382 GB, free: 6.758 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.336, allocations: 0 / 0.5382 GB, free: 6.758 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.07e-05/0.3361, allocations: 27.52 kB / 0.5382 GB, free: 6.746 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.3365, allocations: 18.84 kB / 0.5382 GB, free: 6.738 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/0.3382, allocations: 1.429 MB / 0.5396 GB, free: 5.414 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003788/0.3386, allocations: 0.6968 MB / 0.5403 GB, free: 4.703 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.145e-05/0.3387, allocations: 14.97 kB / 0.5403 GB, free: 4.695 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.559e-05/0.3388, allocations: 26.48 kB / 0.5403 GB, free: 4.68 MB / 398.1 MB Notification: Performance of SimCode: time 2.274e-06/0.3388, allocations: 7.938 kB / 0.5403 GB, free: 4.672 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02537/0.3642, allocations: 3.209 MB / 0.5435 GB, free: 2.82 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.629/7.993, allocations: 10.03 kB / 0.5435 GB, free: 2.816 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test23_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test23.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches