Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.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.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test23",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.001127/0.001127, 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.001058/0.001058, 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.371/1.371, 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.2191/0.2191, allocations: 44.18 MB / 336.8 MB, free: 2.629 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 63.91 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3917/0.3931, allocations: 60.82 MB / 0.5184 GB, free: 3.531 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.002502/0.3956, allocations: 1.57 MB / 0.52 GB, free: 2.441 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001208/0.3968, allocations: 1.024 MB / 0.521 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.529e-05/0.3969, allocations: 8.969 kB / 0.521 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001872/0.3971, allocations: 23.05 kB / 0.521 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000165/0.3973, allocations: 42.22 kB / 0.521 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002668/0.3976, allocations: 110.4 kB / 0.5211 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.3977, allocations: 53.12 kB / 0.5212 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.76e-05/0.3978, allocations: 15.83 kB / 0.5212 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.517e-05/0.3978, allocations: 23.08 kB / 0.5212 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.398, allocations: 29.84 kB / 0.5213 GB, free: 1.562 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.398, allocations: 3.25 kB / 0.5213 GB, free: 1.562 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.878e-05/0.3981, allocations: 49.78 kB / 0.5213 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.202e-05/0.3982, allocations: 13.2 kB / 0.5213 GB, free: 1.539 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.204e-05/0.3982, allocations: 21.17 kB / 0.5213 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001712/0.3984, allocations: 89.5 kB / 0.5214 GB, free: 1.488 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3984, allocations: 4 kB / 0.5214 GB, free: 1.484 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3984, allocations: 0.5156 kB / 0.5214 GB, free: 1.484 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.3984, allocations: 0.9688 kB / 0.5214 GB, free: 1.484 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.0003514/0.3988, allocations: 378.3 kB / 0.5218 GB, free: 1.098 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.3988, allocations: 9.469 kB / 0.5218 GB, free: 1.098 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.666e-05/0.3988, allocations: 36.69 kB / 0.5218 GB, free: 1.055 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.92e-05/0.3989, allocations: 8.75 kB / 0.5218 GB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.399, allocations: 186.7 kB / 0.522 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.399, allocations: 5.656 kB / 0.522 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.399, allocations: 1.656 kB / 0.522 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.3992, allocations: 66.48 kB / 0.5221 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.3992, allocations: 0 / 0.5221 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.3992, allocations: 1.219 kB / 0.5221 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.3992, allocations: 1.188 kB / 0.5221 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.82e-05/0.3993, allocations: 27.12 kB / 0.5221 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002866/0.3996, allocations: 280.2 kB / 0.5224 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/0.3998, allocations: 49.7 kB / 0.5224 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.744e-05/0.3999, allocations: 14.31 kB / 0.5225 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.3999, allocations: 6.016 kB / 0.5225 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.174e-05/0.3999, allocations: 30.56 kB / 0.5225 GB, free: 412 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.3999, allocations: 5.281 kB / 0.5225 GB, free: 408 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000509/0.4004, allocations: 154.1 kB / 0.5226 GB, free: 332 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.4005, allocations: 79.16 kB / 0.5227 GB, free: 236 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.983e-05/0.4006, allocations: 131.2 kB / 0.5228 GB, free: 124 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.227e-06/0.4006, allocations: 26.89 kB / 0.5229 GB, free: 92 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.933e-05/0.4006, allocations: 91.7 kB / 0.523 GB, free: 0 / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/0.4007, allocations: 23.25 kB / 0.523 GB, free: 15.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.63e-05/0.4007, allocations: 20.83 kB / 0.523 GB, free: 15.96 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.4008, allocations: 322.4 kB / 0.5233 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.243e-05/0.4009, allocations: 20.41 kB / 0.5233 GB, free: 15.63 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.537e-05/0.401, allocations: 33.38 kB / 0.5234 GB, free: 15.61 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.4011, allocations: 56.8 kB / 0.5234 GB, free: 15.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.4011, allocations: 0 / 0.5234 GB, free: 15.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001855/0.4013, allocations: 92.52 kB / 0.5235 GB, free: 15.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.4013, allocations: 7.906 kB / 0.5235 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.4014, allocations: 1.344 kB / 0.5235 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.4014, allocations: 0.6094 kB / 0.5235 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.99e-05/0.4014, allocations: 12.06 kB / 0.5235 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.4015, allocations: 1.344 kB / 0.5235 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.138e-05/0.4015, allocations: 8.031 kB / 0.5235 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.4015, allocations: 9.953 kB / 0.5235 GB, free: 15.52 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.59e-05/0.4016, allocations: 115.4 kB / 0.5236 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.387e-05/0.4016, allocations: 8.25 kB / 0.5237 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002223/0.4019, allocations: 96.55 kB / 0.5237 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-06/0.4019, allocations: 0.9688 kB / 0.5237 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.4019, allocations: 0 / 0.5237 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.4019, allocations: 1.938 kB / 0.5238 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004124/0.4023, allocations: 353.4 kB / 0.5241 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.4023, allocations: 0.5156 kB / 0.5241 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.407e-05/0.4024, allocations: 11.67 kB / 0.5241 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.4024, allocations: 4.938 kB / 0.5241 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.4024, allocations: 5.578 kB / 0.5241 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.4024, allocations: 3.938 kB / 0.5241 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.4024, allocations: 1.125 kB / 0.5241 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00023/0.4026, allocations: 181.4 kB / 0.5243 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.36e-05/0.4027, allocations: 78.98 kB / 0.5244 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.4027, allocations: 5.781 kB / 0.5244 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.064e-05/0.4028, allocations: 8.516 kB / 0.5244 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.286e-05/0.4028, allocations: 12.92 kB / 0.5244 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.4028, allocations: 1.125 kB / 0.5244 GB, free: 14.74 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.428e-05/0.4029, allocations: 103.7 kB / 0.5245 GB, free: 14.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4029, allocations: 4 kB / 0.5245 GB, free: 14.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002517/0.4032, allocations: 20.36 kB / 0.5245 GB, free: 14.65 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.001377/0.4046, allocations: 1.056 MB / 0.5255 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000198/0.4048, allocations: 53.88 kB / 0.5256 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4048, allocations: 0 / 0.5256 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.818e-05/0.4049, allocations: 28.98 kB / 0.5256 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.4052, allocations: 23.52 kB / 0.5256 GB, free: 13.82 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.4067, allocations: 1.395 MB / 0.527 GB, free: 12.59 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.407, allocations: 0.6929 MB / 0.5277 GB, free: 11.89 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.136e-05/0.4071, allocations: 14.33 kB / 0.5277 GB, free: 11.89 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.487e-05/0.4071, allocations: 28.72 kB / 0.5277 GB, free: 11.88 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4071, allocations: 0 / 0.5277 GB, free: 11.88 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02083/0.428, allocations: 2.797 MB / 0.5305 GB, free: 10.65 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.384/7.812, allocations: 15.28 kB / 0.5305 GB, free: 10.64 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test23_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.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.u[1],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time