Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21",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.001093/0.001093, allocations: 112.7 kB / 17.78 MB, free: 5.281 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.001128/0.001128, allocations: 180.1 kB / 18.71 MB, free: 4.363 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.377/1.377, 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.2056/0.2056, allocations: 44.19 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 68.12 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.311, allocations: 60.82 MB / 0.5184 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.002592/0.3137, allocations: 1.565 MB / 0.52 GB, free: 2.223 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001223/0.3149, allocations: 1.026 MB / 0.521 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.651e-05/0.315, allocations: 0 / 0.521 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001955/0.3152, allocations: 25.23 kB / 0.521 GB, free: 1.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00017/0.3154, allocations: 41.52 kB / 0.521 GB, free: 1.457 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002886/0.3157, allocations: 110.3 kB / 0.5211 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.3158, allocations: 56.78 kB / 0.5212 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.307e-05/0.3159, allocations: 17.47 kB / 0.5212 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.175e-05/0.3159, allocations: 30.06 kB / 0.5212 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.316, allocations: 21.73 kB / 0.5213 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.3161, allocations: 3.25 kB / 0.5213 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.629e-05/0.3162, allocations: 54.48 kB / 0.5213 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.086e-05/0.3162, allocations: 9.281 kB / 0.5213 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.27e-05/0.3163, allocations: 20.59 kB / 0.5214 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.3164, allocations: 90.73 kB / 0.5214 GB, free: 1.266 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.237e-06/0.3165, allocations: 4 kB / 0.5214 GB, free: 1.262 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3165, allocations: 0.75 kB / 0.5214 GB, free: 1.262 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.3165, allocations: 1.156 kB / 0.5214 GB, free: 1.262 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003741/0.3168, allocations: 381.8 kB / 0.5218 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.3169, allocations: 10.19 kB / 0.5218 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.818e-05/0.3169, allocations: 31.41 kB / 0.5218 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.388e-05/0.317, allocations: 8.234 kB / 0.5219 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.3171, allocations: 187.3 kB / 0.522 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.3172, allocations: 1.594 kB / 0.522 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.3172, allocations: 9.844 kB / 0.522 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.3173, allocations: 62.55 kB / 0.5221 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.3174, allocations: 9.016 kB / 0.5221 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.3174, allocations: 0 / 0.5221 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-06/0.3174, allocations: 1.062 kB / 0.5221 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.557e-05/0.3175, allocations: 23.58 kB / 0.5221 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003411/0.3178, allocations: 283.4 kB / 0.5224 GB, free: 264 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002067/0.318, allocations: 50.95 kB / 0.5225 GB, free: 228 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.999e-05/0.3181, allocations: 13.19 kB / 0.5225 GB, free: 220 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.3181, allocations: 1.906 kB / 0.5225 GB, free: 220 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.557e-05/0.3182, allocations: 35.75 kB / 0.5225 GB, free: 176 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.3182, allocations: 4 kB / 0.5225 GB, free: 172 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005553/0.3187, allocations: 139.2 kB / 0.5226 GB, free: 112 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.3188, allocations: 82.77 kB / 0.5227 GB, free: 12 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.3189, allocations: 134.8 kB / 0.5228 GB, free: 15.9 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.319, allocations: 30.77 kB / 0.5229 GB, free: 15.87 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.684e-05/0.319, allocations: 92.03 kB / 0.523 GB, free: 15.78 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.319, allocations: 23.84 kB / 0.523 GB, free: 15.76 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.535e-05/0.3191, allocations: 15.92 kB / 0.523 GB, free: 15.74 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.946e-05/0.3192, allocations: 322.9 kB / 0.5233 GB, free: 15.42 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.489e-05/0.3193, allocations: 20.17 kB / 0.5233 GB, free: 15.42 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.922e-05/0.3194, allocations: 34.58 kB / 0.5234 GB, free: 15.4 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.3195, allocations: 54.69 kB / 0.5234 GB, free: 15.38 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.3195, allocations: 1.125 kB / 0.5234 GB, free: 15.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001996/0.3197, allocations: 92.31 kB / 0.5235 GB, free: 15.32 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.3198, allocations: 5.562 kB / 0.5235 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.3198, allocations: 0 / 0.5235 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.3198, allocations: 1.844 kB / 0.5235 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.496e-05/0.3199, allocations: 15.73 kB / 0.5235 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.3199, allocations: 0.7969 kB / 0.5235 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.272e-05/0.3199, allocations: 5.391 kB / 0.5235 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.3199, allocations: 17.48 kB / 0.5235 GB, free: 15.3 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 7.576e-05/0.32, allocations: 111.8 kB / 0.5237 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.065e-05/0.3201, allocations: 11.36 kB / 0.5237 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002427/0.3203, allocations: 96.86 kB / 0.5238 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.3203, allocations: 1.281 kB / 0.5238 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3203, allocations: 320 / 0.5238 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3203, allocations: 1.719 kB / 0.5238 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004308/0.3208, allocations: 361.6 kB / 0.5241 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3208, allocations: 0 / 0.5241 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.904e-05/0.3209, allocations: 16.61 kB / 0.5241 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.3209, allocations: 1.125 kB / 0.5241 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.3209, allocations: 0 / 0.5241 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.3209, allocations: 5.734 kB / 0.5241 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3209, allocations: 0 / 0.5241 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002264/0.3211, allocations: 180.9 kB / 0.5243 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.733e-05/0.3212, allocations: 84.05 kB / 0.5244 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.3212, allocations: 1.578 kB / 0.5244 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.73e-05/0.3213, allocations: 11.97 kB / 0.5244 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.139e-05/0.3213, allocations: 4.344 kB / 0.5244 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.3213, allocations: 1.438 kB / 0.5244 GB, free: 14.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.201e-05/0.3214, allocations: 103.6 kB / 0.5245 GB, free: 14.44 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3214, allocations: 4 kB / 0.5245 GB, free: 14.43 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002646/0.3217, allocations: 24.81 kB / 0.5245 GB, free: 14.43 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.001332/0.323, allocations: 1.059 MB / 0.5256 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000209/0.3233, allocations: 50.14 kB / 0.5256 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3233, allocations: 0 / 0.5256 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.038e-05/0.3234, allocations: 29.81 kB / 0.5256 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003624/0.3237, allocations: 22.45 kB / 0.5257 GB, free: 13.6 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.3252, allocations: 1.403 MB / 0.527 GB, free: 12.36 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002248/0.3254, allocations: 0.6947 MB / 0.5277 GB, free: 11.65 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.662e-05/0.3255, allocations: 21.97 kB / 0.5277 GB, free: 11.64 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.367e-05/0.3256, allocations: 23.91 kB / 0.5277 GB, free: 11.63 MB / 398.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3256, allocations: 5.719 kB / 0.5278 GB, free: 11.63 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02022/0.3458, allocations: 2.761 MB / 0.5305 GB, free: 10.46 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.879/8.225, allocations: 26.89 kB / 0.5305 GB, free: 10.44 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches