Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.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.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test12",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.001588/0.001588, allocations: 110.4 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.001918/0.001918, allocations: 187.9 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.372/1.372, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2064/0.2064, allocations: 44.19 MB / 336.8 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 63.89 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3409, allocations: 60.82 MB / 0.5184 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.002663/0.3436, allocations: 1.565 MB / 0.52 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006543/0.3443, allocations: 397.4 kB / 0.5203 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.604e-05/0.3443, allocations: 4 kB / 0.5203 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002095/0.3446, allocations: 20.86 kB / 0.5204 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001784/0.3448, allocations: 49.61 kB / 0.5204 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000247/0.345, allocations: 79.86 kB / 0.5205 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.3452, allocations: 59.31 kB / 0.5205 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.661e-05/0.3453, allocations: 16.17 kB / 0.5206 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.271e-05/0.3453, allocations: 18.83 kB / 0.5206 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.532e-05/0.3454, allocations: 24.2 kB / 0.5206 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.3454, allocations: 2.406 kB / 0.5206 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.227e-05/0.3455, allocations: 29.52 kB / 0.5206 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.544e-05/0.3455, allocations: 15.55 kB / 0.5206 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.397e-05/0.3456, allocations: 21.09 kB / 0.5207 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001661/0.3457, allocations: 82.62 kB / 0.5207 GB, free: 1.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3457, allocations: 0 / 0.5207 GB, free: 1.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3458, allocations: 3.938 kB / 0.5208 GB, free: 1.746 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.3458, allocations: 4 kB / 0.5208 GB, free: 1.742 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.0003888/0.3462, allocations: 381.1 kB / 0.5211 GB, free: 1.355 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.3462, allocations: 9.188 kB / 0.5211 GB, free: 1.355 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.467e-05/0.3462, allocations: 36.88 kB / 0.5212 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.982e-05/0.3463, allocations: 9.375 kB / 0.5212 GB, free: 1.309 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.3464, allocations: 190.3 kB / 0.5214 GB, free: 1.098 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.113e-06/0.3464, allocations: 1.531 kB / 0.5214 GB, free: 1.098 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.3465, allocations: 2.781 kB / 0.5214 GB, free: 1.098 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.3466, allocations: 56.27 kB / 0.5214 GB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.3466, allocations: 5.125 kB / 0.5214 GB, free: 1.047 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.3467, allocations: 0 / 0.5214 GB, free: 1.047 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.3467, allocations: 2.016 kB / 0.5214 GB, free: 1.047 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.044e-05/0.3468, allocations: 21.19 kB / 0.5214 GB, free: 1.043 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002849/0.3471, allocations: 271.5 kB / 0.5217 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.3473, allocations: 47.53 kB / 0.5217 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.09e-05/0.3473, allocations: 18.2 kB / 0.5218 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.3473, allocations: 1.281 kB / 0.5218 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.421e-05/0.3474, allocations: 35.12 kB / 0.5218 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.3474, allocations: 1 kB / 0.5218 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005257/0.3479, allocations: 143.5 kB / 0.5219 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.285e-05/0.3479, allocations: 52.59 kB / 0.522 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.3481, allocations: 164.5 kB / 0.5221 GB, free: 436 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.147e-06/0.3481, allocations: 30.31 kB / 0.5222 GB, free: 400 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.376e-05/0.3481, allocations: 98.81 kB / 0.5223 GB, free: 304 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.861e-05/0.3482, allocations: 15.2 kB / 0.5223 GB, free: 292 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.228e-05/0.3482, allocations: 18 kB / 0.5223 GB, free: 272 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.848e-05/0.3483, allocations: 325.3 kB / 0.5226 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.978e-05/0.3484, allocations: 21.88 kB / 0.5226 GB, free: 15.94 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.021e-05/0.3484, allocations: 19.3 kB / 0.5226 GB, free: 15.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/0.3486, allocations: 42.33 kB / 0.5227 GB, free: 15.92 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3486, allocations: 1.188 kB / 0.5227 GB, free: 15.92 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000185/0.3488, allocations: 83.66 kB / 0.5228 GB, free: 15.87 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.3488, allocations: 7.109 kB / 0.5228 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.3488, allocations: 4 kB / 0.5228 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.3488, allocations: 0 / 0.5228 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.371e-05/0.3489, allocations: 13.28 kB / 0.5228 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.3489, allocations: 4.734 kB / 0.5228 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.042e-05/0.3489, allocations: 9.203 kB / 0.5228 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.349, allocations: 5.312 kB / 0.5228 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 8.736e-05/0.3491, allocations: 117.3 kB / 0.5229 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.177e-05/0.3491, allocations: 8.25 kB / 0.5229 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002495/0.3493, allocations: 102.7 kB / 0.523 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.3494, allocations: 1.375 kB / 0.523 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3494, allocations: 0 / 0.523 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.3494, allocations: 4.734 kB / 0.523 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004291/0.3498, allocations: 344.1 kB / 0.5234 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3498, allocations: 1.312 kB / 0.5234 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.802e-05/0.3499, allocations: 15.2 kB / 0.5234 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.3499, allocations: 5.188 kB / 0.5234 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.3499, allocations: 0.6094 kB / 0.5234 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.3499, allocations: 5.031 kB / 0.5234 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.3499, allocations: 0.6094 kB / 0.5234 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/0.3502, allocations: 177.4 kB / 0.5236 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.169e-05/0.3502, allocations: 83.67 kB / 0.5236 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.3502, allocations: 1.984 kB / 0.5236 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.968e-05/0.3503, allocations: 12.25 kB / 0.5236 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.454e-05/0.3504, allocations: 4.219 kB / 0.5237 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.3504, allocations: 1.375 kB / 0.5237 GB, free: 15.07 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.907e-05/0.3505, allocations: 126.6 kB / 0.5238 GB, free: 14.98 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3505, allocations: 0 / 0.5238 GB, free: 14.98 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002654/0.3507, allocations: 19.55 kB / 0.5238 GB, free: 14.97 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.001313/0.3521, allocations: 1.005 MB / 0.5248 GB, free: 14.2 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002296/0.3523, allocations: 48.66 kB / 0.5248 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3523, allocations: 0 / 0.5248 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.082e-05/0.3524, allocations: 28.48 kB / 0.5248 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.3528, allocations: 22.3 kB / 0.5249 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001632/0.3544, allocations: 1.467 MB / 0.5263 GB, free: 12.89 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.3547, allocations: 0.6932 MB / 0.527 GB, free: 12.2 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.478e-05/0.3548, allocations: 5.938 kB / 0.527 GB, free: 12.2 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.253e-05/0.3548, allocations: 30.5 kB / 0.527 GB, free: 12.17 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3548, allocations: 0 / 0.527 GB, free: 12.17 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02127/0.3761, allocations: 2.59 MB / 0.5295 GB, free: 11.23 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.797/8.173, allocations: 17.52 kB / 0.5296 GB, free: 11.21 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test12_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.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.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,t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time