Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.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.Test34,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test34,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001793/0.001793, allocations: 122 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.001988/0.001988, 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.388/1.388, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2205/0.2205, allocations: 46.13 MB / 344.4 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002245/0.002245, allocations: 75.88 kB / 480.9 MB, free: 4.438 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3418, allocations: 62.45 MB / 0.5307 GB, free: 13.33 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.003236/0.3451, allocations: 1.615 MB / 0.5322 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001072/0.3462, allocations: 0.5448 MB / 0.5328 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.749e-05/0.3463, allocations: 0 / 0.5328 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002905/0.3466, allocations: 84.7 kB / 0.5328 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003106/0.3469, allocations: 106.1 kB / 0.5329 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003901/0.3473, allocations: 110.8 kB / 0.533 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001753/0.3475, allocations: 84.31 kB / 0.5331 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.3476, allocations: 20.8 kB / 0.5331 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.537e-05/0.3477, allocations: 35.78 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.3478, allocations: 60.88 kB / 0.5332 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.3478, allocations: 2.156 kB / 0.5332 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.348, allocations: 50.08 kB / 0.5333 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.216e-05/0.348, allocations: 19.73 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.694e-05/0.3481, allocations: 33.52 kB / 0.5333 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002399/0.3483, allocations: 109.2 kB / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3483, allocations: 1.094 kB / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3484, allocations: 4 kB / 0.5335 GB, free: 11.22 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.3484, allocations: 0 / 0.5335 GB, free: 11.22 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005785/0.3489, allocations: 415.6 kB / 0.5338 GB, free: 10.8 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.349, allocations: 9.312 kB / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.83e-05/0.349, allocations: 31.81 kB / 0.5339 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.825e-05/0.3491, allocations: 14.31 kB / 0.5339 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/0.3493, allocations: 213.2 kB / 0.5341 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.775e-06/0.3494, allocations: 1.75 kB / 0.5341 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/0.3494, allocations: 6.875 kB / 0.5341 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.3495, allocations: 58.67 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.3496, allocations: 0 / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.3496, allocations: 5.062 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.3496, allocations: 1.219 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.3497, allocations: 31.97 kB / 0.5342 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004448/0.3502, allocations: 295 kB / 0.5345 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.3503, allocations: 57.75 kB / 0.5345 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.185e-05/0.3504, allocations: 16.55 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.3504, allocations: 3.984 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.3504, allocations: 35.62 kB / 0.5346 GB, free: 10.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 3.056e-06/0.3504, allocations: 0 / 0.5346 GB, free: 10.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009266/0.3514, allocations: 250.5 kB / 0.5348 GB, free: 9.883 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.3514, allocations: 52.78 kB / 0.5349 GB, free: 9.82 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002107/0.3516, allocations: 211.2 kB / 0.5351 GB, free: 9.676 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.3517, allocations: 25.7 kB / 0.5351 GB, free: 9.645 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.24e-05/0.3518, allocations: 109.6 kB / 0.5352 GB, free: 9.539 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.718e-05/0.3518, allocations: 31.86 kB / 0.5352 GB, free: 9.512 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-05/0.3518, allocations: 23.22 kB / 0.5353 GB, free: 9.488 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.352, allocations: 323 kB / 0.5356 GB, free: 9.168 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.339e-05/0.3521, allocations: 32.47 kB / 0.5356 GB, free: 9.152 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.42e-05/0.3522, allocations: 28.48 kB / 0.5356 GB, free: 9.141 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.3524, allocations: 78.16 kB / 0.5357 GB, free: 9.098 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.3524, allocations: 0 / 0.5357 GB, free: 9.098 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002232/0.3526, allocations: 117.7 kB / 0.5358 GB, free: 9.023 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.3526, allocations: 4.125 kB / 0.5358 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.3526, allocations: 1.375 kB / 0.5358 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.3527, allocations: 3.938 kB / 0.5358 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.765e-05/0.3528, allocations: 17.73 kB / 0.5358 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.3528, allocations: 5.312 kB / 0.5359 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.736e-05/0.3528, allocations: 10.73 kB / 0.5359 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.066e-06/0.3528, allocations: 2.75 kB / 0.5359 GB, free: 9.004 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 (8): * Single equations (assignments): 8 * 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.0001166/0.353, allocations: 124.5 kB / 0.536 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.636e-05/0.353, allocations: 13.59 kB / 0.536 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003106/0.3533, allocations: 133.8 kB / 0.5361 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.3533, allocations: 0.9688 kB / 0.5361 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.3533, allocations: 8.969 kB / 0.5361 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3534, allocations: 0 / 0.5361 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006088/0.354, allocations: 423.1 kB / 0.5365 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.354, allocations: 1.156 kB / 0.5365 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.502e-05/0.3541, allocations: 21.08 kB / 0.5366 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.3541, allocations: 1.531 kB / 0.5366 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.3541, allocations: 5.219 kB / 0.5366 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3541, allocations: 1.188 kB / 0.5366 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.3541, allocations: 5.266 kB / 0.5366 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002999/0.3544, allocations: 212.8 kB / 0.5368 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.68e-05/0.3545, allocations: 92.14 kB / 0.5369 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.3545, allocations: 5.062 kB / 0.5369 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.307e-05/0.3546, allocations: 7.703 kB / 0.5369 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.43e-05/0.3546, allocations: 2.594 kB / 0.5369 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.702e-06/0.3546, allocations: 2.406 kB / 0.5369 GB, free: 8.066 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001641/0.3548, allocations: 176.1 kB / 0.537 GB, free: 7.945 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3548, allocations: 0 / 0.537 GB, free: 7.945 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002527/0.3551, allocations: 22.34 kB / 0.5371 GB, free: 7.938 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 (8): * Single equations (assignments): 8 * 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.002182/0.3573, allocations: 1.092 MB / 0.5381 GB, free: 7.082 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000266/0.3575, allocations: 79.44 kB / 0.5382 GB, free: 7.047 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.3576, allocations: 5.188 kB / 0.5382 GB, free: 7.043 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001249/0.3577, allocations: 35.73 kB / 0.5382 GB, free: 7.031 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/0.3581, allocations: 18.58 kB / 0.5383 GB, free: 7.023 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00221/0.3603, allocations: 1.712 MB / 0.5399 GB, free: 5.562 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000389/0.3607, allocations: 0.7166 MB / 0.5406 GB, free: 4.844 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.046e-05/0.3608, allocations: 20.67 kB / 0.5407 GB, free: 4.836 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.295e-05/0.3609, allocations: 33.11 kB / 0.5407 GB, free: 4.809 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3609, allocations: 0.9062 kB / 0.5407 GB, free: 4.809 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02465/0.3855, allocations: 3.157 MB / 0.5438 GB, free: 3.082 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.849/8.234, allocations: 1.438 kB / 0.5438 GB, free: 3.082 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test34_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test34.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches