Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.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.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001466/0.001466, allocations: 118.8 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.00184/0.001841, allocations: 202 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.323/1.323, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2146/0.2146, allocations: 46.09 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 71.88 kB / 480.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.3499, allocations: 62.44 MB / 0.5305 GB, free: 13.5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.003133/0.3531, allocations: 1.59 MB / 0.5321 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001012/0.3541, allocations: 0.5411 MB / 0.5326 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.789e-05/0.3542, allocations: 1.031 kB / 0.5326 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002024/0.3544, allocations: 24.31 kB / 0.5326 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003255/0.3548, allocations: 79.31 kB / 0.5327 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003738/0.3552, allocations: 118.2 kB / 0.5328 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000158/0.3553, allocations: 62.33 kB / 0.5329 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.3554, allocations: 15.38 kB / 0.5329 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.65e-05/0.3555, allocations: 25.67 kB / 0.5329 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.461e-05/0.3556, allocations: 25.67 kB / 0.5329 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.3556, allocations: 2.625 kB / 0.5329 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.856e-05/0.3557, allocations: 41.33 kB / 0.533 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.743e-05/0.3558, allocations: 15.73 kB / 0.533 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.047e-05/0.3558, allocations: 15.66 kB / 0.533 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.356, allocations: 87.02 kB / 0.5331 GB, free: 11.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.356, allocations: 0 / 0.5331 GB, free: 11.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.356, allocations: 0 / 0.5331 GB, free: 11.52 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.356, allocations: 0 / 0.5331 GB, free: 11.52 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.0004878/0.3565, allocations: 376.1 kB / 0.5335 GB, free: 11.12 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.3566, allocations: 18.12 kB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.762e-05/0.3566, allocations: 36.19 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.34e-05/0.3567, allocations: 12.5 kB / 0.5335 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001996/0.3569, allocations: 196.9 kB / 0.5337 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.3569, allocations: 1.75 kB / 0.5337 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.3569, allocations: 1.594 kB / 0.5337 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.3571, allocations: 48.88 kB / 0.5338 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.3571, allocations: 0 / 0.5338 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.3571, allocations: 4 kB / 0.5338 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.3571, allocations: 1.156 kB / 0.5338 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.3572, allocations: 29.62 kB / 0.5338 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003992/0.3576, allocations: 284.7 kB / 0.5341 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.3579, allocations: 44.17 kB / 0.5341 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.315e-05/0.3579, allocations: 15.73 kB / 0.5341 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.358, allocations: 1.375 kB / 0.5341 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.358, allocations: 36.03 kB / 0.5342 GB, free: 10.38 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.358, allocations: 3.938 kB / 0.5342 GB, free: 10.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000587/0.3586, allocations: 146 kB / 0.5343 GB, free: 10.29 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.3586, allocations: 56.77 kB / 0.5344 GB, free: 10.23 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.3588, allocations: 157.3 kB / 0.5345 GB, free: 10.09 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.3588, allocations: 27.08 kB / 0.5345 GB, free: 10.06 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.764e-05/0.3589, allocations: 98.88 kB / 0.5346 GB, free: 9.965 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.266e-05/0.3589, allocations: 14.5 kB / 0.5346 GB, free: 9.953 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.809e-05/0.3589, allocations: 17.84 kB / 0.5347 GB, free: 9.934 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.3591, allocations: 325.5 kB / 0.535 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.346e-05/0.3591, allocations: 18.98 kB / 0.535 GB, free: 9.602 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.657e-05/0.3592, allocations: 20.36 kB / 0.535 GB, free: 9.594 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.3594, allocations: 60.31 kB / 0.5351 GB, free: 9.559 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3594, allocations: 0 / 0.5351 GB, free: 9.559 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001949/0.3596, allocations: 82.58 kB / 0.5351 GB, free: 9.504 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.3596, allocations: 5.5 kB / 0.5351 GB, free: 9.504 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.3596, allocations: 0 / 0.5351 GB, free: 9.504 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.3596, allocations: 5.312 kB / 0.5352 GB, free: 9.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.92e-05/0.3597, allocations: 13.61 kB / 0.5352 GB, free: 9.496 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3597, allocations: 0 / 0.5352 GB, free: 9.496 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.513e-05/0.3598, allocations: 12.11 kB / 0.5352 GB, free: 9.488 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.3598, allocations: 5.312 kB / 0.5352 GB, free: 9.484 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 9.36e-05/0.3599, allocations: 114 kB / 0.5353 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.111e-05/0.3599, allocations: 8.031 kB / 0.5353 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000245/0.3602, allocations: 100.2 kB / 0.5354 GB, free: 9.289 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3602, allocations: 1.375 kB / 0.5354 GB, free: 9.289 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.3602, allocations: 0 / 0.5354 GB, free: 9.289 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3602, allocations: 13.56 kB / 0.5354 GB, free: 9.277 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004391/0.3606, allocations: 358.6 kB / 0.5357 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3607, allocations: 1.375 kB / 0.5358 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.87e-05/0.3607, allocations: 13.61 kB / 0.5358 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.3607, allocations: 288 / 0.5358 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.3607, allocations: 1.375 kB / 0.5358 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.3608, allocations: 3.938 kB / 0.5358 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3608, allocations: 0 / 0.5358 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002252/0.361, allocations: 194.8 kB / 0.536 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.806e-05/0.361, allocations: 83.67 kB / 0.536 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.3611, allocations: 0 / 0.536 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.185e-05/0.3611, allocations: 11.73 kB / 0.536 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.756e-05/0.3612, allocations: 5.312 kB / 0.5361 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.3612, allocations: 5.312 kB / 0.5361 GB, free: 8.625 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.303e-05/0.3613, allocations: 124.9 kB / 0.5362 GB, free: 8.527 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3613, allocations: 0.875 kB / 0.5362 GB, free: 8.527 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002394/0.3615, allocations: 14.31 kB / 0.5362 GB, free: 8.523 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.001331/0.3629, allocations: 1 MB / 0.5372 GB, free: 7.719 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002117/0.3631, allocations: 55.27 kB / 0.5372 GB, free: 7.695 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3631, allocations: 0 / 0.5372 GB, free: 7.695 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.123e-05/0.3632, allocations: 29.11 kB / 0.5372 GB, free: 7.684 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/0.3635, allocations: 21.7 kB / 0.5373 GB, free: 7.672 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.3652, allocations: 1.465 MB / 0.5387 GB, free: 6.332 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.3655, allocations: 0.6955 MB / 0.5394 GB, free: 5.629 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.73e-05/0.3655, allocations: 19.95 kB / 0.5394 GB, free: 5.617 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.389e-05/0.3656, allocations: 24.38 kB / 0.5394 GB, free: 5.598 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3656, allocations: 0 / 0.5394 GB, free: 5.598 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01967/0.3853, allocations: 2.594 MB / 0.542 GB, free: 4.121 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.496/7.881, allocations: 4.906 kB / 0.542 GB, free: 4.121 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches