Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.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.CombiTable1Ds.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test18",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.001226/0.001226, allocations: 109.5 kB / 17.78 MB, free: 5.289 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.001285/0.001285, allocations: 188.8 kB / 18.71 MB, free: 4.371 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.374/1.374, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2294/0.2294, allocations: 44.19 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001314, allocations: 59.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3683, allocations: 60.83 MB / 0.5184 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.002599/0.3709, allocations: 1.58 MB / 0.52 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.3722, allocations: 1.021 MB / 0.521 GB, free: 1.465 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6e-05/0.3723, allocations: 0 / 0.521 GB, free: 1.465 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002271/0.3726, allocations: 25.23 kB / 0.521 GB, free: 1.449 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001783/0.3728, allocations: 42.08 kB / 0.521 GB, free: 1.426 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00025/0.373, allocations: 89.11 kB / 0.5211 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001544/0.3732, allocations: 60.83 kB / 0.5212 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.782e-05/0.3733, allocations: 18.36 kB / 0.5212 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.707e-05/0.3734, allocations: 32.5 kB / 0.5212 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.3735, allocations: 27.27 kB / 0.5213 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.3735, allocations: 4.062 kB / 0.5213 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.3736, allocations: 54.33 kB / 0.5213 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.315e-05/0.3737, allocations: 14.39 kB / 0.5213 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.083e-05/0.3737, allocations: 22.92 kB / 0.5214 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001972/0.3739, allocations: 105.2 kB / 0.5215 GB, free: 1.227 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3739, allocations: 4.969 kB / 0.5215 GB, free: 1.223 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.374, allocations: 0 / 0.5215 GB, free: 1.223 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.374, allocations: 4.734 kB / 0.5215 GB, free: 1.219 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004112/0.3744, allocations: 379.3 kB / 0.5218 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.3744, allocations: 8.969 kB / 0.5218 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.653e-05/0.3745, allocations: 41.02 kB / 0.5219 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.389e-05/0.3745, allocations: 12.81 kB / 0.5219 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.3747, allocations: 189 kB / 0.5221 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.3747, allocations: 5.516 kB / 0.5221 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.3747, allocations: 11.41 kB / 0.5221 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.3749, allocations: 77.34 kB / 0.5222 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.3749, allocations: 3.906 kB / 0.5222 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.3749, allocations: 0 / 0.5222 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.3749, allocations: 6.047 kB / 0.5222 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.375, allocations: 33.27 kB / 0.5222 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002977/0.3753, allocations: 285.7 kB / 0.5225 GB, free: 204 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.3754, allocations: 51.72 kB / 0.5225 GB, free: 168 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.947e-05/0.3755, allocations: 20.7 kB / 0.5225 GB, free: 156 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.3755, allocations: 5.734 kB / 0.5225 GB, free: 152 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.732e-05/0.3755, allocations: 32.28 kB / 0.5226 GB, free: 112 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.3756, allocations: 0 / 0.5226 GB, free: 112 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005913/0.3762, allocations: 177.2 kB / 0.5227 GB, free: 28 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.64e-05/0.3762, allocations: 79.3 kB / 0.5228 GB, free: 15.93 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.3764, allocations: 149.8 kB / 0.523 GB, free: 15.81 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.3764, allocations: 30.64 kB / 0.523 GB, free: 15.78 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.9e-05/0.3765, allocations: 93.72 kB / 0.5231 GB, free: 15.69 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.727e-05/0.3765, allocations: 25.28 kB / 0.5231 GB, free: 15.67 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.207e-05/0.3766, allocations: 25.86 kB / 0.5231 GB, free: 15.64 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.3767, allocations: 315.6 kB / 0.5234 GB, free: 15.33 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.055e-05/0.3768, allocations: 26.2 kB / 0.5235 GB, free: 15.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.686e-05/0.3769, allocations: 43.95 kB / 0.5235 GB, free: 15.3 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.377, allocations: 60.25 kB / 0.5236 GB, free: 15.27 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.377, allocations: 0 / 0.5236 GB, free: 15.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002264/0.3773, allocations: 100.5 kB / 0.5237 GB, free: 15.22 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.3773, allocations: 4.938 kB / 0.5237 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.3773, allocations: 1.219 kB / 0.5237 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.3773, allocations: 0 / 0.5237 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.3774, allocations: 21.64 kB / 0.5237 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.3774, allocations: 8.969 kB / 0.5237 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.554e-05/0.3775, allocations: 5.5 kB / 0.5237 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-06/0.3775, allocations: 2.188 kB / 0.5237 GB, free: 15.21 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 8.568e-05/0.3776, allocations: 120.2 kB / 0.5238 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.682e-05/0.3776, allocations: 11.88 kB / 0.5238 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002704/0.3779, allocations: 112.8 kB / 0.5239 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.3779, allocations: 4.562 kB / 0.5239 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3779, allocations: 5.438 kB / 0.5239 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3779, allocations: 0.75 kB / 0.5239 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004856/0.3784, allocations: 383.7 kB / 0.5243 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.3784, allocations: 0 / 0.5243 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.292e-05/0.3785, allocations: 21.84 kB / 0.5243 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/0.3785, allocations: 3.938 kB / 0.5243 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.3785, allocations: 5.859 kB / 0.5243 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.3786, allocations: 4 kB / 0.5243 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.3786, allocations: 2.25 kB / 0.5243 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002419/0.3788, allocations: 191.8 kB / 0.5245 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.525e-05/0.3789, allocations: 89 kB / 0.5246 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.3789, allocations: 3.938 kB / 0.5246 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.134e-05/0.379, allocations: 6.156 kB / 0.5246 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.069e-05/0.379, allocations: 13.2 kB / 0.5246 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.379, allocations: 3.141 kB / 0.5246 GB, free: 14.39 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.391e-05/0.3791, allocations: 105.7 kB / 0.5247 GB, free: 14.3 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3791, allocations: 0 / 0.5247 GB, free: 14.3 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002662/0.3794, allocations: 26.12 kB / 0.5248 GB, free: 14.3 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 (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.001411/0.3808, allocations: 1.071 MB / 0.5258 GB, free: 13.49 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002502/0.3811, allocations: 66.44 kB / 0.5259 GB, free: 13.48 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3811, allocations: 4 kB / 0.5259 GB, free: 13.47 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.707e-05/0.3812, allocations: 38.77 kB / 0.5259 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003695/0.3816, allocations: 17.81 kB / 0.5259 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001969/0.3835, allocations: 1.469 MB / 0.5274 GB, free: 12.18 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003794/0.3839, allocations: 0.705 MB / 0.528 GB, free: 11.47 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.895e-05/0.3841, allocations: 8.875 kB / 0.5281 GB, free: 11.46 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.031e-05/0.3841, allocations: 27.27 kB / 0.5281 GB, free: 11.45 MB / 398.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3842, allocations: 0 / 0.5281 GB, free: 11.45 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02228/0.4064, allocations: 2.966 MB / 0.531 GB, free: 10.14 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.637/8.044, allocations: 13.73 kB / 0.531 GB, free: 10.13 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test18_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test18.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches