Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.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.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test11",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.001198/0.001198, allocations: 110.4 kB / 17.78 MB, free: 5.25 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.001244/0.001245, allocations: 187.1 kB / 18.71 MB, free: 4.324 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.408/1.408, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2265/0.2265, allocations: 44.18 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 63.89 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4118/0.4132, allocations: 60.83 MB / 0.5184 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test11): time 0.003122/0.4164, allocations: 1.568 MB / 0.52 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008097/0.4172, allocations: 404.3 kB / 0.5204 GB, free: 1.965 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.08e-05/0.4173, allocations: 1.5 kB / 0.5204 GB, free: 1.965 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002653/0.4176, allocations: 32.06 kB / 0.5204 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002326/0.4178, allocations: 34.12 kB / 0.5204 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003811/0.4182, allocations: 114.1 kB / 0.5205 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001458/0.4184, allocations: 55.62 kB / 0.5206 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.4185, allocations: 12.97 kB / 0.5206 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.823e-05/0.4185, allocations: 19.12 kB / 0.5206 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.14e-05/0.4186, allocations: 19.38 kB / 0.5206 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.4186, allocations: 3.312 kB / 0.5206 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.828e-05/0.4187, allocations: 29.08 kB / 0.5207 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.203e-05/0.4188, allocations: 23.7 kB / 0.5207 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.45e-05/0.4188, allocations: 26.11 kB / 0.5207 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001814/0.419, allocations: 79.41 kB / 0.5208 GB, free: 1.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.419, allocations: 3.938 kB / 0.5208 GB, free: 1.746 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.419, allocations: 0 / 0.5208 GB, free: 1.746 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.419, allocations: 0 / 0.5208 GB, free: 1.746 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.0003937/0.4194, allocations: 378.9 kB / 0.5211 GB, free: 1.363 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.4195, allocations: 14.31 kB / 0.5212 GB, free: 1.359 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.595e-05/0.4195, allocations: 36.45 kB / 0.5212 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.68e-05/0.4195, allocations: 8.812 kB / 0.5212 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.4197, allocations: 202.8 kB / 0.5214 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.4197, allocations: 1.5 kB / 0.5214 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.4197, allocations: 2.469 kB / 0.5214 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.4199, allocations: 49.86 kB / 0.5215 GB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.4199, allocations: 1.094 kB / 0.5215 GB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.4199, allocations: 4 kB / 0.5215 GB, free: 1.047 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.4199, allocations: 1.188 kB / 0.5215 GB, free: 1.047 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.906e-05/0.42, allocations: 23.45 kB / 0.5215 GB, free: 1.043 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003436/0.4204, allocations: 281.3 kB / 0.5217 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002203/0.4206, allocations: 46.42 kB / 0.5218 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.168e-05/0.4207, allocations: 18.34 kB / 0.5218 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.4207, allocations: 1.688 kB / 0.5218 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.695e-05/0.4207, allocations: 32.36 kB / 0.5218 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.783e-06/0.4207, allocations: 4 kB / 0.5218 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005993/0.4213, allocations: 150.8 kB / 0.522 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.4214, allocations: 52.44 kB / 0.522 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.4216, allocations: 162.6 kB / 0.5222 GB, free: 436 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.779e-06/0.4216, allocations: 25.7 kB / 0.5222 GB, free: 404 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.768e-05/0.4216, allocations: 99.72 kB / 0.5223 GB, free: 308 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.094e-05/0.4216, allocations: 18.56 kB / 0.5223 GB, free: 292 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.845e-05/0.4217, allocations: 18.75 kB / 0.5224 GB, free: 272 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.457e-05/0.4218, allocations: 324.4 kB / 0.5227 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.924e-05/0.4219, allocations: 20.97 kB / 0.5227 GB, free: 15.94 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.851e-05/0.4219, allocations: 28.75 kB / 0.5227 GB, free: 15.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.4221, allocations: 51.5 kB / 0.5228 GB, free: 15.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.4221, allocations: 4.875 kB / 0.5228 GB, free: 15.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001935/0.4223, allocations: 85.58 kB / 0.5228 GB, free: 15.86 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.4223, allocations: 5.406 kB / 0.5228 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.4223, allocations: 0 / 0.5228 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.4224, allocations: 1.156 kB / 0.5228 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.483e-05/0.4224, allocations: 11.81 kB / 0.5229 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.4224, allocations: 6.078 kB / 0.5229 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.05e-05/0.4225, allocations: 4.516 kB / 0.5229 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.4225, allocations: 9.375 kB / 0.5229 GB, free: 15.85 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 9.213e-05/0.4226, allocations: 123.2 kB / 0.523 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.452e-05/0.4226, allocations: 15.47 kB / 0.523 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002497/0.4229, allocations: 95.41 kB / 0.5231 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.4229, allocations: 0 / 0.5231 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.4229, allocations: 2.172 kB / 0.5231 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.4229, allocations: 0 / 0.5231 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004522/0.4234, allocations: 362.8 kB / 0.5235 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.4234, allocations: 0.5625 kB / 0.5235 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.626e-05/0.4235, allocations: 12.3 kB / 0.5235 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.4235, allocations: 2.672 kB / 0.5235 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.4235, allocations: 4 kB / 0.5235 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.4235, allocations: 3.938 kB / 0.5235 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.4235, allocations: 1.453 kB / 0.5235 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002331/0.4237, allocations: 190 kB / 0.5237 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.237e-05/0.4238, allocations: 82.89 kB / 0.5237 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.4238, allocations: 1 kB / 0.5237 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.036e-05/0.4239, allocations: 9.266 kB / 0.5237 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.81e-05/0.4239, allocations: 7.547 kB / 0.5238 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.424, allocations: 1.969 kB / 0.5238 GB, free: 15.05 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.982e-05/0.4241, allocations: 129 kB / 0.5239 GB, free: 14.96 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4241, allocations: 4 kB / 0.5239 GB, free: 14.96 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002425/0.4243, allocations: 11.69 kB / 0.5239 GB, free: 14.96 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.001317/0.4256, allocations: 1.012 MB / 0.5249 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002072/0.4259, allocations: 61.44 kB / 0.5249 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.4259, allocations: 0 / 0.5249 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.969e-05/0.426, allocations: 26.28 kB / 0.525 GB, free: 14.15 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003597/0.4263, allocations: 19.58 kB / 0.525 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001689/0.428, allocations: 1.492 MB / 0.5264 GB, free: 12.86 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002488/0.4283, allocations: 0.6982 MB / 0.5271 GB, free: 12.16 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.23e-05/0.4284, allocations: 11.7 kB / 0.5271 GB, free: 12.16 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.699e-05/0.4284, allocations: 26.06 kB / 0.5272 GB, free: 12.14 MB / 398.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4284, allocations: 1.438 kB / 0.5272 GB, free: 12.14 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02011/0.4485, allocations: 2.605 MB / 0.5297 GB, free: 11.16 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.556/8.004, allocations: 13.23 kB / 0.5297 GB, free: 11.15 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test11_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test11.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.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(d_t_new.u),der(t_new.u[1]),t_new.columns[1],t_new.extrapolation,t_new.n,t_new.smoothness,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.u[1],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time