Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 109.8 kB / 17.78 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 183.9 kB / 18.71 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1969/0.1969, allocations: 44.18 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 59.91 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3108, allocations: 60.83 MB / 0.5185 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.002918/0.3138, allocations: 1.584 MB / 0.52 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006781/0.3145, allocations: 407 kB / 0.5204 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.072e-05/0.3146, allocations: 1.125 kB / 0.5204 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003283/0.3149, allocations: 77.56 kB / 0.5205 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002113/0.3151, allocations: 65.97 kB / 0.5205 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003019/0.3155, allocations: 108 kB / 0.5206 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001568/0.3156, allocations: 78.95 kB / 0.5207 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.3157, allocations: 19.58 kB / 0.5207 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.441e-05/0.3158, allocations: 41.3 kB / 0.5208 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.3159, allocations: 50.39 kB / 0.5208 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.316, allocations: 2.469 kB / 0.5208 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.69e-05/0.3161, allocations: 47.39 kB / 0.5209 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.92e-05/0.3161, allocations: 24.47 kB / 0.5209 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.285e-05/0.3162, allocations: 25.92 kB / 0.5209 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000202/0.3164, allocations: 99.5 kB / 0.521 GB, free: 1.664 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.3164, allocations: 0 / 0.521 GB, free: 1.664 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3164, allocations: 1.406 kB / 0.521 GB, free: 1.664 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.3164, allocations: 3.938 kB / 0.521 GB, free: 1.66 MB / 382.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.000434/0.3168, allocations: 411.1 kB / 0.5214 GB, free: 1.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.3169, allocations: 9.344 kB / 0.5214 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.913e-05/0.3169, allocations: 36.98 kB / 0.5214 GB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.55e-05/0.317, allocations: 9.516 kB / 0.5215 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.3171, allocations: 202.5 kB / 0.5216 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.3171, allocations: 2.125 kB / 0.5216 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.3172, allocations: 6.141 kB / 0.5217 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.3173, allocations: 57.73 kB / 0.5217 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.3174, allocations: 0 / 0.5217 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.016e-06/0.3174, allocations: 1.812 kB / 0.5217 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.3174, allocations: 1.125 kB / 0.5217 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.3175, allocations: 30.52 kB / 0.5217 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003659/0.3179, allocations: 300.2 kB / 0.522 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.318, allocations: 48.78 kB / 0.5221 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.015e-05/0.318, allocations: 19.69 kB / 0.5221 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.3181, allocations: 1.938 kB / 0.5221 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/0.3181, allocations: 31.75 kB / 0.5221 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.3181, allocations: 4 kB / 0.5221 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008813/0.319, allocations: 242.8 kB / 0.5224 GB, free: 460 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.559e-05/0.319, allocations: 56.44 kB / 0.5224 GB, free: 392 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.3192, allocations: 210.2 kB / 0.5226 GB, free: 252 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.779e-06/0.3192, allocations: 30.8 kB / 0.5226 GB, free: 216 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.086e-05/0.3193, allocations: 105.2 kB / 0.5227 GB, free: 116 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.513e-05/0.3193, allocations: 28.72 kB / 0.5228 GB, free: 92 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.512e-05/0.3193, allocations: 21.58 kB / 0.5228 GB, free: 72 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.3195, allocations: 321.8 kB / 0.5231 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.264e-05/0.3196, allocations: 34.33 kB / 0.5231 GB, free: 15.74 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.81e-05/0.3197, allocations: 30.75 kB / 0.5232 GB, free: 15.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.3199, allocations: 76.14 kB / 0.5232 GB, free: 15.7 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3199, allocations: 0 / 0.5232 GB, free: 15.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002235/0.3201, allocations: 109.2 kB / 0.5233 GB, free: 15.65 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.3201, allocations: 5.609 kB / 0.5233 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3201, allocations: 3.938 kB / 0.5233 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.3201, allocations: 1.438 kB / 0.5233 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.3202, allocations: 24.86 kB / 0.5234 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.3203, allocations: 9.156 kB / 0.5234 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.294e-05/0.3203, allocations: 7.844 kB / 0.5234 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.3203, allocations: 2.984 kB / 0.5234 GB, free: 15.62 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.0001019/0.3204, allocations: 123.3 kB / 0.5235 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.704e-05/0.3205, allocations: 14.02 kB / 0.5235 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002851/0.3208, allocations: 131.7 kB / 0.5236 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.3208, allocations: 1.469 kB / 0.5236 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3208, allocations: 7.938 kB / 0.5237 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3208, allocations: 0.7031 kB / 0.5237 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005369/0.3213, allocations: 419.9 kB / 0.5241 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.3214, allocations: 5.594 kB / 0.5241 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.955e-05/0.3214, allocations: 16.33 kB / 0.5241 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.3214, allocations: 1.094 kB / 0.5241 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.3215, allocations: 6.609 kB / 0.5241 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3215, allocations: 0 / 0.5241 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3215, allocations: 1 kB / 0.5241 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002811/0.3218, allocations: 210.1 kB / 0.5243 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.596e-05/0.3218, allocations: 88.03 kB / 0.5244 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.3218, allocations: 6.672 kB / 0.5244 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.7e-05/0.3219, allocations: 12.67 kB / 0.5244 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/0.322, allocations: 10.25 kB / 0.5244 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.322, allocations: 2.125 kB / 0.5244 GB, free: 14.78 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001441/0.3222, allocations: 156.2 kB / 0.5245 GB, free: 14.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3222, allocations: 1.781 kB / 0.5245 GB, free: 14.68 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002508/0.3224, allocations: 23.06 kB / 0.5246 GB, free: 14.68 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.001474/0.3239, allocations: 1.099 MB / 0.5256 GB, free: 13.85 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002484/0.3242, allocations: 75.58 kB / 0.5257 GB, free: 13.83 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3242, allocations: 0 / 0.5257 GB, free: 13.83 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.975e-05/0.3243, allocations: 42.33 kB / 0.5258 GB, free: 13.82 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.3247, allocations: 17.7 kB / 0.5258 GB, free: 13.81 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002011/0.3267, allocations: 1.677 MB / 0.5274 GB, free: 12.46 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.327, allocations: 0.7132 MB / 0.5281 GB, free: 11.76 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.574e-05/0.3271, allocations: 19.88 kB / 0.5281 GB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.957e-05/0.3272, allocations: 37.75 kB / 0.5282 GB, free: 11.72 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3272, allocations: 0 / 0.5282 GB, free: 11.72 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01954/0.3468, allocations: 3.066 MB / 0.5312 GB, free: 10.38 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.844/8.191, allocations: 23.12 kB / 0.5312 GB, free: 10.36 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.csv","/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_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches