Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.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.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001804/0.001804, allocations: 114.8 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002148/0.002148, allocations: 198 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2199/0.2199, allocations: 46.09 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 79.88 kB / 480.8 MB, free: 4.531 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3541, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.003187/0.3573, allocations: 1.62 MB / 0.5321 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.3584, allocations: 0.5444 MB / 0.5327 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.597e-05/0.3585, allocations: 0 / 0.5327 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003228/0.3588, allocations: 82.58 kB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003658/0.3592, allocations: 110.1 kB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003617/0.3596, allocations: 109.7 kB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002142/0.3598, allocations: 89.64 kB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.36, allocations: 17.5 kB / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.607e-05/0.36, allocations: 31.91 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.3602, allocations: 59.31 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.3602, allocations: 4.062 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.3604, allocations: 48.97 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.486e-05/0.3604, allocations: 20.3 kB / 0.5332 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.36e-05/0.3605, allocations: 33.72 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000256/0.3608, allocations: 112.3 kB / 0.5333 GB, free: 11.3 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.3608, allocations: 1.188 kB / 0.5333 GB, free: 11.3 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3608, allocations: 3.938 kB / 0.5334 GB, free: 11.3 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.3608, allocations: 4 kB / 0.5334 GB, free: 11.3 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.0006285/0.3614, allocations: 411.4 kB / 0.5337 GB, free: 10.88 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.693e-05/0.3615, allocations: 9.562 kB / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.352e-05/0.3616, allocations: 36.14 kB / 0.5338 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.656e-05/0.3616, allocations: 14 kB / 0.5338 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002641/0.3619, allocations: 213.4 kB / 0.534 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.3619, allocations: 1.344 kB / 0.534 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.858e-05/0.362, allocations: 6.344 kB / 0.534 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.3621, allocations: 54.75 kB / 0.5341 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.3621, allocations: 1.219 kB / 0.5341 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.3622, allocations: 4 kB / 0.5341 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3622, allocations: 5.125 kB / 0.5341 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.3623, allocations: 28.22 kB / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004397/0.3627, allocations: 299.7 kB / 0.5344 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.3628, allocations: 47.78 kB / 0.5344 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.435e-05/0.3629, allocations: 22.72 kB / 0.5345 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.3629, allocations: 0 / 0.5345 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.363, allocations: 32.38 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.363, allocations: 0 / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009342/0.3639, allocations: 249.2 kB / 0.5347 GB, free: 9.969 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.364, allocations: 56.72 kB / 0.5348 GB, free: 9.902 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002196/0.3642, allocations: 215.2 kB / 0.535 GB, free: 9.754 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.3642, allocations: 25.7 kB / 0.535 GB, free: 9.723 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.644e-05/0.3643, allocations: 105.6 kB / 0.5351 GB, free: 9.621 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.151e-05/0.3644, allocations: 31.86 kB / 0.5351 GB, free: 9.594 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.818e-05/0.3644, allocations: 23.22 kB / 0.5352 GB, free: 9.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.3646, allocations: 323 kB / 0.5355 GB, free: 9.25 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.333e-05/0.3647, allocations: 32.47 kB / 0.5355 GB, free: 9.234 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.854e-05/0.3648, allocations: 28.48 kB / 0.5355 GB, free: 9.223 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000183/0.365, allocations: 78.16 kB / 0.5356 GB, free: 9.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.365, allocations: 0 / 0.5356 GB, free: 9.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002716/0.3652, allocations: 117.7 kB / 0.5357 GB, free: 9.105 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.3653, allocations: 5.5 kB / 0.5357 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.3653, allocations: 0 / 0.5357 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.3653, allocations: 1.375 kB / 0.5357 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.3654, allocations: 17.73 kB / 0.5357 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.3654, allocations: 3.938 kB / 0.5357 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.471e-05/0.3655, allocations: 8.109 kB / 0.5358 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.3655, allocations: 5.375 kB / 0.5358 GB, free: 9.09 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.000126/0.3657, allocations: 128.8 kB / 0.5359 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.372e-05/0.3657, allocations: 13.41 kB / 0.5359 GB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003855/0.3661, allocations: 138.2 kB / 0.536 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.3661, allocations: 4.969 kB / 0.536 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.3661, allocations: 7.922 kB / 0.536 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.3661, allocations: 1.062 kB / 0.536 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007393/0.3669, allocations: 423.5 kB / 0.5364 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.3669, allocations: 0 / 0.5364 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.949e-05/0.367, allocations: 21.7 kB / 0.5365 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.367, allocations: 0.9688 kB / 0.5365 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.367, allocations: 1.906 kB / 0.5365 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.367, allocations: 1 kB / 0.5365 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.359e-06/0.3671, allocations: 1.031 kB / 0.5365 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004034/0.3675, allocations: 212.1 kB / 0.5367 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.45e-05/0.3676, allocations: 96.59 kB / 0.5368 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.3676, allocations: 5.25 kB / 0.5368 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.603e-05/0.3677, allocations: 3.812 kB / 0.5368 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.447e-05/0.3677, allocations: 7.203 kB / 0.5368 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.014e-06/0.3677, allocations: 2.156 kB / 0.5368 GB, free: 8.145 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001758/0.3679, allocations: 171.3 kB / 0.5369 GB, free: 8.027 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3679, allocations: 0 / 0.5369 GB, free: 8.027 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002804/0.3682, allocations: 23.47 kB / 0.537 GB, free: 8.02 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.001584/0.3698, allocations: 1.089 MB / 0.538 GB, free: 7.164 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002376/0.37, allocations: 75.41 kB / 0.5381 GB, free: 7.133 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3701, allocations: 0 / 0.5381 GB, free: 7.133 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.3702, allocations: 47.91 kB / 0.5381 GB, free: 7.109 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.3705, allocations: 14.66 kB / 0.5382 GB, free: 7.105 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002122/0.3727, allocations: 1.708 MB / 0.5398 GB, free: 5.648 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003375/0.373, allocations: 0.7163 MB / 0.5405 GB, free: 4.93 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.042e-05/0.3731, allocations: 20.42 kB / 0.5405 GB, free: 4.922 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.728e-05/0.3732, allocations: 37.39 kB / 0.5406 GB, free: 4.891 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3732, allocations: 0 / 0.5406 GB, free: 4.891 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02064/0.3938, allocations: 3.157 MB / 0.5437 GB, free: 3.164 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.624/8.018, allocations: 1.469 kB / 0.5437 GB, free: 3.164 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test30.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches