Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.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.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001331/0.001331, allocations: 121.1 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.001426/0.001426, allocations: 204.6 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.395/1.395, allocations: 227.4 MB / 247 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2218/0.2218, allocations: 46.11 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002385/0.002385, allocations: 80.14 kB / 480.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3095, allocations: 62.44 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003492/0.313, allocations: 1.602 MB / 0.5322 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001859/0.3149, allocations: 1.155 MB / 0.5333 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.951e-05/0.315, allocations: 1.375 kB / 0.5333 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002441/0.3152, allocations: 23.91 kB / 0.5333 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003512/0.3156, allocations: 85.61 kB / 0.5334 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002907/0.3159, allocations: 90.06 kB / 0.5335 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001715/0.3161, allocations: 71.12 kB / 0.5336 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.446e-05/0.3162, allocations: 6.344 kB / 0.5336 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.604e-05/0.3163, allocations: 29.36 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001761/0.3164, allocations: 34.83 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.3165, allocations: 3.812 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002018/0.3167, allocations: 100 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.072e-05/0.3167, allocations: 15.33 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.195e-05/0.3168, allocations: 27.78 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002848/0.3171, allocations: 146.6 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.3171, allocations: 0 / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3171, allocations: 0 / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.3171, allocations: 1.156 kB / 0.5339 GB, free: 10.84 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.00057/0.3177, allocations: 398.7 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.3177, allocations: 9.781 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.207e-05/0.3178, allocations: 35.95 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.422e-05/0.3178, allocations: 12.14 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.3181, allocations: 197.1 kB / 0.5345 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.3181, allocations: 5.562 kB / 0.5345 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.3181, allocations: 6.766 kB / 0.5345 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.3183, allocations: 67.38 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.3183, allocations: 1.031 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.3184, allocations: 0 / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.3184, allocations: 1.125 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.686e-05/0.3185, allocations: 29.53 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004012/0.3189, allocations: 278.6 kB / 0.5349 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002116/0.3191, allocations: 47.81 kB / 0.535 GB, free: 9.723 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.526e-05/0.3192, allocations: 15.25 kB / 0.535 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.3192, allocations: 1.344 kB / 0.535 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.003e-05/0.3193, allocations: 34.56 kB / 0.535 GB, free: 9.668 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.793e-06/0.3193, allocations: 1.281 kB / 0.535 GB, free: 9.668 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005798/0.3199, allocations: 140.4 kB / 0.5351 GB, free: 9.582 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.641e-05/0.3199, allocations: 78.39 kB / 0.5352 GB, free: 9.488 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001969/0.3202, allocations: 148.2 kB / 0.5354 GB, free: 9.363 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.3202, allocations: 27.08 kB / 0.5354 GB, free: 9.332 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.344e-05/0.3203, allocations: 98.83 kB / 0.5355 GB, free: 9.234 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/0.3203, allocations: 18.59 kB / 0.5355 GB, free: 9.219 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.008e-05/0.3203, allocations: 17.84 kB / 0.5355 GB, free: 9.199 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.3205, allocations: 324.1 kB / 0.5358 GB, free: 8.875 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.518e-05/0.3206, allocations: 18.98 kB / 0.5358 GB, free: 8.867 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.547e-05/0.3207, allocations: 31.45 kB / 0.5359 GB, free: 8.844 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.3208, allocations: 50.8 kB / 0.5359 GB, free: 8.812 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.3208, allocations: 1.375 kB / 0.5359 GB, free: 8.812 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002074/0.321, allocations: 79.88 kB / 0.536 GB, free: 8.758 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.3211, allocations: 5.5 kB / 0.536 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3211, allocations: 0 / 0.536 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.3211, allocations: 1.375 kB / 0.536 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.825e-05/0.3212, allocations: 13.61 kB / 0.536 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.3212, allocations: 4 kB / 0.536 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.815e-05/0.3212, allocations: 8.312 kB / 0.536 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.3212, allocations: 5.375 kB / 0.536 GB, free: 8.742 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.0001015/0.3214, allocations: 121.9 kB / 0.5361 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.436e-05/0.3214, allocations: 6.703 kB / 0.5361 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002612/0.3217, allocations: 89.59 kB / 0.5362 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3217, allocations: 0 / 0.5362 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3217, allocations: 9.312 kB / 0.5362 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.3217, allocations: 3.938 kB / 0.5362 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004671/0.3222, allocations: 350.5 kB / 0.5366 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.3222, allocations: 0 / 0.5366 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.76e-05/0.3223, allocations: 13.56 kB / 0.5366 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.3223, allocations: 1.375 kB / 0.5366 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.3223, allocations: 3.938 kB / 0.5366 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.3223, allocations: 5.359 kB / 0.5366 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3223, allocations: 4 kB / 0.5366 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002638/0.3226, allocations: 172 kB / 0.5368 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.27e-05/0.3226, allocations: 87.25 kB / 0.5369 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/0.3227, allocations: 7.922 kB / 0.5369 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.787e-05/0.3227, allocations: 8.375 kB / 0.5369 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.865e-05/0.3228, allocations: 1.094 kB / 0.5369 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.3228, allocations: 6.438 kB / 0.5369 GB, free: 7.895 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001025/0.3229, allocations: 116.9 kB / 0.537 GB, free: 7.801 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3229, allocations: 0 / 0.537 GB, free: 7.801 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003157/0.3232, allocations: 39.92 kB / 0.537 GB, free: 7.785 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.002288/0.3255, allocations: 1.102 MB / 0.5381 GB, free: 6.926 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002138/0.3258, allocations: 56.09 kB / 0.5382 GB, free: 6.898 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3258, allocations: 0 / 0.5382 GB, free: 6.898 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.477e-05/0.3259, allocations: 23.77 kB / 0.5382 GB, free: 6.891 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000336/0.3262, allocations: 18.45 kB / 0.5382 GB, free: 6.883 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/0.3279, allocations: 1.428 MB / 0.5396 GB, free: 5.559 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.3283, allocations: 0.6935 MB / 0.5403 GB, free: 4.852 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.581e-05/0.3283, allocations: 18.66 kB / 0.5403 GB, free: 4.84 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.371e-05/0.3284, allocations: 30.53 kB / 0.5403 GB, free: 4.82 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3284, allocations: 0.9375 kB / 0.5403 GB, free: 4.82 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03129/0.3597, allocations: 3.2 MB / 0.5434 GB, free: 2.977 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.074/8.434, allocations: 9.984 kB / 0.5435 GB, free: 2.969 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches