Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.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.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001095/0.001095, allocations: 118.8 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001406/0.001406, allocations: 202 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 227.4 MB / 246.9 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2311/0.2311, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002723/0.002723, allocations: 75.88 kB / 480.8 MB, free: 4.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3481, allocations: 62.44 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003462/0.3516, allocations: 1.658 MB / 0.5322 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.3527, allocations: 0.5797 MB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.989e-05/0.3528, allocations: 1.375 kB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006349/0.3534, allocations: 461.7 kB / 0.5332 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004996/0.3539, allocations: 291.9 kB / 0.5334 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004591/0.3544, allocations: 173.9 kB / 0.5336 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000234/0.3547, allocations: 183.9 kB / 0.5338 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.3548, allocations: 21.61 kB / 0.5338 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001335/0.3549, allocations: 110.8 kB / 0.5339 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002606/0.3552, allocations: 216.8 kB / 0.5341 GB, free: 11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.425e-05/0.3552, allocations: 3.938 kB / 0.5341 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.695e-05/0.3553, allocations: 33.97 kB / 0.5342 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.3554, allocations: 83.03 kB / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.591e-05/0.3555, allocations: 111.7 kB / 0.5343 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003335/0.3559, allocations: 273 kB / 0.5346 GB, free: 10.69 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3559, allocations: 0 / 0.5346 GB, free: 10.69 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3559, allocations: 0 / 0.5346 GB, free: 10.69 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.3559, allocations: 0 / 0.5346 GB, free: 10.69 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.0007605/0.3567, allocations: 0.6759 MB / 0.5353 GB, free: 10.06 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.3567, allocations: 9.219 kB / 0.5353 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.393e-05/0.3568, allocations: 39.81 kB / 0.5353 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.857e-05/0.3568, allocations: 43.88 kB / 0.5353 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003091/0.3572, allocations: 305.3 kB / 0.5356 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.3572, allocations: 13.45 kB / 0.5357 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.3572, allocations: 6.578 kB / 0.5357 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.3574, allocations: 63.48 kB / 0.5357 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.3574, allocations: 0 / 0.5357 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.3574, allocations: 0 / 0.5357 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.3574, allocations: 1.094 kB / 0.5357 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000143/0.3576, allocations: 42.44 kB / 0.5358 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005605/0.3582, allocations: 410.7 kB / 0.5362 GB, free: 9.234 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.3583, allocations: 45.36 kB / 0.5362 GB, free: 9.199 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.144e-05/0.3584, allocations: 29.69 kB / 0.5362 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.3584, allocations: 0 / 0.5362 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.3585, allocations: 39.91 kB / 0.5363 GB, free: 9.133 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.3585, allocations: 0 / 0.5363 GB, free: 9.133 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009071/0.3594, allocations: 323.8 kB / 0.5366 GB, free: 8.941 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.3595, allocations: 52.5 kB / 0.5366 GB, free: 8.879 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009334/0.3604, allocations: 0.8759 MB / 0.5375 GB, free: 8.453 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.3604, allocations: 26.77 kB / 0.5375 GB, free: 8.422 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001888/0.3606, allocations: 219.6 kB / 0.5377 GB, free: 8.23 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.942e-05/0.3607, allocations: 22.8 kB / 0.5377 GB, free: 8.211 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.433e-05/0.3607, allocations: 24.55 kB / 0.5378 GB, free: 8.188 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.3609, allocations: 364.1 kB / 0.5381 GB, free: 7.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.361, allocations: 40.98 kB / 0.5381 GB, free: 7.82 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.3611, allocations: 37.78 kB / 0.5382 GB, free: 7.805 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000234/0.3614, allocations: 87.23 kB / 0.5383 GB, free: 7.762 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.3614, allocations: 0 / 0.5383 GB, free: 7.762 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003258/0.3617, allocations: 167.5 kB / 0.5384 GB, free: 7.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.3617, allocations: 4.938 kB / 0.5384 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.3618, allocations: 1.469 kB / 0.5384 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.3618, allocations: 0 / 0.5384 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.3619, allocations: 19.55 kB / 0.5384 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.3619, allocations: 8.062 kB / 0.5385 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.922e-05/0.362, allocations: 21.67 kB / 0.5385 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.362, allocations: 10.66 kB / 0.5385 GB, free: 7.625 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 (7): * Single equations (assignments): 7 * 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.0002097/0.3623, allocations: 218.1 kB / 0.5387 GB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.525e-05/0.3623, allocations: 42.78 kB / 0.5387 GB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004163/0.3627, allocations: 176.3 kB / 0.5389 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3628, allocations: 5.078 kB / 0.5389 GB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3628, allocations: 5.094 kB / 0.5389 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3628, allocations: 3.938 kB / 0.5389 GB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007113/0.3635, allocations: 0.5065 MB / 0.5394 GB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3635, allocations: 0 / 0.5394 GB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.921e-05/0.3636, allocations: 22.61 kB / 0.5394 GB, free: 6.891 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.3636, allocations: 1.188 kB / 0.5394 GB, free: 6.891 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.3636, allocations: 9.25 kB / 0.5394 GB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3636, allocations: 0 / 0.5394 GB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3637, allocations: 1 kB / 0.5394 GB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003507/0.364, allocations: 258.3 kB / 0.5397 GB, free: 6.684 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.962e-05/0.3641, allocations: 115 kB / 0.5398 GB, free: 6.562 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.182e-05/0.3641, allocations: 5.094 kB / 0.5398 GB, free: 6.559 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.3642, allocations: 17.58 kB / 0.5398 GB, free: 6.547 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.945e-05/0.3643, allocations: 3.562 kB / 0.5398 GB, free: 6.547 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.617e-06/0.3643, allocations: 5.391 kB / 0.5398 GB, free: 6.543 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006229/0.3649, allocations: 0.6543 MB / 0.5405 GB, free: 6.227 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.3649, allocations: 5.438 kB / 0.5405 GB, free: 6.223 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002747/0.3652, allocations: 29.05 kB / 0.5405 GB, free: 6.215 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 (7): * Single equations (assignments): 7 * 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.001563/0.3668, allocations: 1.099 MB / 0.5416 GB, free: 5.352 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003012/0.3671, allocations: 85.44 kB / 0.5417 GB, free: 5.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3671, allocations: 4 kB / 0.5417 GB, free: 5.316 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001268/0.3673, allocations: 52.2 kB / 0.5417 GB, free: 5.293 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004035/0.3677, allocations: 32.59 kB / 0.5417 GB, free: 5.273 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003912/0.3716, allocations: 3.377 MB / 0.545 GB, free: 2.625 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004135/0.372, allocations: 0.8299 MB / 0.5458 GB, free: 1.77 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.815e-05/0.3721, allocations: 20.64 kB / 0.5459 GB, free: 1.75 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001429/0.3723, allocations: 119.4 kB / 0.546 GB, free: 1.633 MB / 398.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3723, allocations: 4 kB / 0.546 GB, free: 1.629 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02453/0.3968, allocations: 6.248 MB / 0.5521 GB, free: 11.45 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.386/8.782, allocations: 10.34 kB / 0.5521 GB, free: 11.44 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches