Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_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.001574/0.001574, allocations: 114.4 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.002599/0.0026, allocations: 183.1 kB / 18.71 MB, free: 4.344 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.347/1.347, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.2126/0.2126, allocations: 44.19 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 67.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3402, allocations: 60.83 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.002694/0.3429, allocations: 1.562 MB / 0.52 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.3442, allocations: 1.024 MB / 0.521 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.329e-05/0.3442, allocations: 1.094 kB / 0.521 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002052/0.3444, allocations: 27.27 kB / 0.521 GB, free: 1.465 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001789/0.3447, allocations: 38.12 kB / 0.521 GB, free: 1.445 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000238/0.3449, allocations: 84.84 kB / 0.5211 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001319/0.345, allocations: 55.75 kB / 0.5212 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.07e-05/0.3451, allocations: 14.95 kB / 0.5212 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.57e-05/0.3452, allocations: 26.41 kB / 0.5212 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.3453, allocations: 26.03 kB / 0.5212 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.3453, allocations: 3.344 kB / 0.5212 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.3454, allocations: 50.25 kB / 0.5213 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.878e-05/0.3455, allocations: 12.44 kB / 0.5213 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.932e-05/0.3455, allocations: 21.06 kB / 0.5213 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000206/0.3458, allocations: 89.2 kB / 0.5214 GB, free: 1.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3458, allocations: 0 / 0.5214 GB, free: 1.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3458, allocations: 0 / 0.5214 GB, free: 1.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.3458, allocations: 1.312 kB / 0.5214 GB, free: 1.27 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.0003806/0.3462, allocations: 381.5 kB / 0.5218 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.3462, allocations: 14.28 kB / 0.5218 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.864e-05/0.3463, allocations: 36.47 kB / 0.5218 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.151e-05/0.3463, allocations: 8.844 kB / 0.5218 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.3464, allocations: 184.7 kB / 0.522 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.3465, allocations: 2.156 kB / 0.522 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.3465, allocations: 2.25 kB / 0.522 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.3466, allocations: 74.02 kB / 0.5221 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.3467, allocations: 0.7969 kB / 0.5221 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.3467, allocations: 3.938 kB / 0.5221 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.3467, allocations: 1.438 kB / 0.5221 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.582e-05/0.3468, allocations: 21.44 kB / 0.5221 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002556/0.347, allocations: 269.4 kB / 0.5224 GB, free: 272 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.3472, allocations: 43.61 kB / 0.5224 GB, free: 240 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.448e-05/0.3473, allocations: 18.41 kB / 0.5224 GB, free: 228 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.885e-05/0.3473, allocations: 0 / 0.5224 GB, free: 228 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.355e-05/0.3473, allocations: 40.39 kB / 0.5224 GB, free: 180 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.3473, allocations: 1.219 kB / 0.5224 GB, free: 180 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004827/0.3478, allocations: 142.1 kB / 0.5226 GB, free: 108 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.3479, allocations: 79.16 kB / 0.5227 GB, free: 12 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.348, allocations: 134.4 kB / 0.5228 GB, free: 15.9 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.348, allocations: 27.27 kB / 0.5228 GB, free: 15.87 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.067e-05/0.3481, allocations: 92.23 kB / 0.5229 GB, free: 15.78 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.937e-05/0.3481, allocations: 15.02 kB / 0.5229 GB, free: 15.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.421e-05/0.3481, allocations: 18.75 kB / 0.5229 GB, free: 15.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.566e-05/0.3482, allocations: 327.8 kB / 0.5232 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.567e-05/0.3483, allocations: 13.78 kB / 0.5233 GB, free: 15.43 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.224e-05/0.3484, allocations: 36.02 kB / 0.5233 GB, free: 15.4 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.3485, allocations: 42.75 kB / 0.5233 GB, free: 15.39 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.3485, allocations: 0 / 0.5233 GB, free: 15.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001733/0.3487, allocations: 84.61 kB / 0.5234 GB, free: 15.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.3487, allocations: 5.812 kB / 0.5234 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.3487, allocations: 0.6562 kB / 0.5234 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.3488, allocations: 1.094 kB / 0.5234 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.337e-05/0.3488, allocations: 12.47 kB / 0.5234 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.3488, allocations: 4.547 kB / 0.5234 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.441e-05/0.3489, allocations: 8.953 kB / 0.5234 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.3489, allocations: 5 kB / 0.5235 GB, free: 15.32 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.95e-05/0.349, allocations: 118.6 kB / 0.5236 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.253e-05/0.349, allocations: 7.656 kB / 0.5236 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002156/0.3492, allocations: 92.84 kB / 0.5237 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3493, allocations: 0 / 0.5237 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.3493, allocations: 1.406 kB / 0.5237 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3493, allocations: 0.9375 kB / 0.5237 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003826/0.3497, allocations: 351 kB / 0.524 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3497, allocations: 4 kB / 0.524 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.717e-05/0.3497, allocations: 17.19 kB / 0.524 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3497, allocations: 0 / 0.524 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.3498, allocations: 5.203 kB / 0.524 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.3498, allocations: 7.875 kB / 0.524 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3498, allocations: 1.906 kB / 0.524 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002013/0.35, allocations: 172.7 kB / 0.5242 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.727e-05/0.35, allocations: 83.59 kB / 0.5243 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.3501, allocations: 0.6094 kB / 0.5243 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.068e-05/0.3501, allocations: 8.844 kB / 0.5243 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.517e-05/0.3502, allocations: 8.234 kB / 0.5243 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.3502, allocations: 1.969 kB / 0.5243 GB, free: 14.54 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.316e-05/0.3503, allocations: 103.3 kB / 0.5244 GB, free: 14.45 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3503, allocations: 0 / 0.5244 GB, free: 14.45 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002638/0.3505, allocations: 24.69 kB / 0.5244 GB, free: 14.45 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.3519, allocations: 1.043 MB / 0.5254 GB, free: 13.66 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001916/0.3521, allocations: 42.8 kB / 0.5255 GB, free: 13.65 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.3521, allocations: 1.094 kB / 0.5255 GB, free: 13.65 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.245e-05/0.3522, allocations: 27.03 kB / 0.5255 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.3525, allocations: 19.33 kB / 0.5255 GB, free: 13.63 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.354, allocations: 1.384 MB / 0.5269 GB, free: 12.39 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002689/0.3543, allocations: 0.6915 MB / 0.5276 GB, free: 11.69 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.508e-05/0.3544, allocations: 12.48 kB / 0.5276 GB, free: 11.69 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.83e-05/0.3544, allocations: 25.02 kB / 0.5276 GB, free: 11.68 MB / 398.1 MB Notification: Performance of SimCode: time 2.365e-06/0.3544, allocations: 0 / 0.5276 GB, free: 11.68 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02077/0.3752, allocations: 2.77 MB / 0.5303 GB, free: 10.52 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.672/8.047, allocations: 11.72 kB / 0.5303 GB, free: 10.52 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test21_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/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_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,clock.y Variables in the result:clock.offset,clock.startTime,clock.y,d_t_new.u,d_t_new.y,der(clock.y),der(d_t_new.u),t_new.columns[1],t_new.extrapolation,t_new.nout,t_new.smoothness,t_new.tableOnFile,t_new.u,t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time