Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31",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.001488/0.001495, allocations: 117.2 kB / 17.78 MB, free: 5.262 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.001558/0.001558, allocations: 184.2 kB / 18.72 MB, free: 4.332 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.424/1.424, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2244/0.2244, allocations: 44.19 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 63.91 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3391, allocations: 60.82 MB / 0.5185 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.002558/0.3417, allocations: 1.59 MB / 0.52 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006537/0.3424, allocations: 411.8 kB / 0.5204 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.596e-05/0.3425, allocations: 1.312 kB / 0.5204 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003095/0.3428, allocations: 128.2 kB / 0.5205 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002145/0.343, allocations: 89.52 kB / 0.5206 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002692/0.3433, allocations: 108 kB / 0.5207 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.3435, allocations: 87.06 kB / 0.5208 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.922e-05/0.3436, allocations: 22.33 kB / 0.5208 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.836e-05/0.3436, allocations: 44.95 kB / 0.5209 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001307/0.3438, allocations: 79.98 kB / 0.5209 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.3438, allocations: 7.609 kB / 0.5209 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.185e-05/0.3439, allocations: 42.55 kB / 0.521 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.339e-05/0.344, allocations: 24.02 kB / 0.521 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.008e-05/0.344, allocations: 39.56 kB / 0.521 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002012/0.3442, allocations: 115 kB / 0.5212 GB, free: 1.645 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3442, allocations: 5.688 kB / 0.5212 GB, free: 1.641 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3442, allocations: 0 / 0.5212 GB, free: 1.641 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.3442, allocations: 0 / 0.5212 GB, free: 1.641 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.0004306/0.3447, allocations: 427.3 kB / 0.5216 GB, free: 1.223 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.3447, allocations: 9.469 kB / 0.5216 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.422e-05/0.3448, allocations: 36.81 kB / 0.5216 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.274e-05/0.3448, allocations: 15.52 kB / 0.5216 GB, free: 1.172 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.3449, allocations: 208.8 kB / 0.5218 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.345, allocations: 1.531 kB / 0.5218 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.345, allocations: 11.22 kB / 0.5218 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.3451, allocations: 53.77 kB / 0.5219 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.3452, allocations: 0.6094 kB / 0.5219 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.3452, allocations: 0 / 0.5219 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3452, allocations: 1.25 kB / 0.5219 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.3453, allocations: 26.98 kB / 0.5219 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003431/0.3456, allocations: 325.2 kB / 0.5222 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.3458, allocations: 54 kB / 0.5223 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.855e-05/0.3458, allocations: 19.02 kB / 0.5223 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.3458, allocations: 5.188 kB / 0.5223 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.666e-05/0.3459, allocations: 32.67 kB / 0.5223 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3459, allocations: 0 / 0.5223 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008684/0.3467, allocations: 245 kB / 0.5226 GB, free: 404 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/0.3468, allocations: 60.34 kB / 0.5226 GB, free: 332 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002259/0.347, allocations: 268.8 kB / 0.5229 GB, free: 184 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.347, allocations: 26.89 kB / 0.5229 GB, free: 152 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.671e-05/0.3471, allocations: 119.8 kB / 0.523 GB, free: 40 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.3471, allocations: 25.73 kB / 0.523 GB, free: 20 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.555e-05/0.3472, allocations: 20.77 kB / 0.5231 GB, free: 0 / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.3473, allocations: 328.5 kB / 0.5234 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.146e-05/0.3474, allocations: 26.34 kB / 0.5234 GB, free: 15.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.201e-05/0.3475, allocations: 30.34 kB / 0.5234 GB, free: 15.67 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001748/0.3477, allocations: 75.98 kB / 0.5235 GB, free: 15.64 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.3477, allocations: 5.094 kB / 0.5235 GB, free: 15.63 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002413/0.348, allocations: 110.4 kB / 0.5236 GB, free: 15.58 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.348, allocations: 8.875 kB / 0.5236 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.348, allocations: 0 / 0.5236 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.348, allocations: 1.656 kB / 0.5236 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.971e-05/0.3481, allocations: 22.78 kB / 0.5236 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.3482, allocations: 8 kB / 0.5236 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.248e-05/0.3482, allocations: 4.844 kB / 0.5237 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.3482, allocations: 7.406 kB / 0.5237 GB, free: 15.56 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.0001102/0.3483, allocations: 132.1 kB / 0.5238 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.825e-05/0.3484, allocations: 14.44 kB / 0.5238 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003138/0.3487, allocations: 139 kB / 0.5239 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-06/0.3487, allocations: 1.312 kB / 0.5239 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.3487, allocations: 3.938 kB / 0.5239 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.3487, allocations: 4.594 kB / 0.5239 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005907/0.3493, allocations: 427.2 kB / 0.5243 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.3493, allocations: 4.594 kB / 0.5244 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.718e-05/0.3494, allocations: 16.83 kB / 0.5244 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.3494, allocations: 1.375 kB / 0.5244 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.3494, allocations: 5.281 kB / 0.5244 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.3495, allocations: 1.906 kB / 0.5244 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.3495, allocations: 5.344 kB / 0.5244 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002852/0.3498, allocations: 222 kB / 0.5246 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.169e-05/0.3498, allocations: 93.39 kB / 0.5247 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.3498, allocations: 3.172 kB / 0.5247 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.107e-05/0.3499, allocations: 3.719 kB / 0.5247 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.35, allocations: 5.547 kB / 0.5247 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.35, allocations: 12.22 kB / 0.5247 GB, free: 14.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001932/0.3502, allocations: 204.8 kB / 0.5249 GB, free: 14.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3502, allocations: 0 / 0.5249 GB, free: 14.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002464/0.3504, allocations: 20.61 kB / 0.5249 GB, free: 14.57 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.002094/0.3525, allocations: 1.106 MB / 0.526 GB, free: 13.74 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002532/0.3528, allocations: 80.5 kB / 0.5261 GB, free: 13.72 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3528, allocations: 0 / 0.5261 GB, free: 13.72 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.3529, allocations: 42.58 kB / 0.5261 GB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003787/0.3533, allocations: 14.66 kB / 0.5261 GB, free: 13.7 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002075/0.3554, allocations: 1.825 MB / 0.5279 GB, free: 12.3 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003658/0.3558, allocations: 0.7141 MB / 0.5286 GB, free: 11.61 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.281e-05/0.3559, allocations: 16.78 kB / 0.5286 GB, free: 11.61 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.752e-05/0.3559, allocations: 41.81 kB / 0.5287 GB, free: 11.58 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.356, allocations: 4 kB / 0.5287 GB, free: 11.57 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02419/0.3801, allocations: 3.361 MB / 0.532 GB, free: 9.988 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.848/8.228, allocations: 12.19 kB / 0.532 GB, free: 9.98 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches