Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.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: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 110 kB / 18.45 MB, free: 4.602 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.00108/0.00108, allocations: 182.3 kB / 19.38 MB, free: 3.684 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.26/1.26, allocations: 222.9 MB / 243.1 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.1879/0.1879, allocations: 44.19 MB / 337.4 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.00112, allocations: 55.91 kB / 471.2 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3044, allocations: 60.83 MB / 0.5196 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.00283/0.3073, allocations: 1.585 MB / 0.5211 GB, free: 2.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007105/0.308, allocations: 409.8 kB / 0.5215 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.02e-05/0.3081, allocations: 1.219 kB / 0.5215 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003394/0.3084, allocations: 120.5 kB / 0.5216 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002242/0.3087, allocations: 89.64 kB / 0.5217 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002744/0.309, allocations: 77.78 kB / 0.5218 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001813/0.3092, allocations: 89.72 kB / 0.5219 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.3093, allocations: 18.02 kB / 0.5219 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.206e-05/0.3094, allocations: 48.92 kB / 0.522 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001479/0.3095, allocations: 79.84 kB / 0.522 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.929e-05/0.3095, allocations: 2.75 kB / 0.522 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.3097, allocations: 46.97 kB / 0.5221 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.963e-05/0.3097, allocations: 27.86 kB / 0.5221 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.166e-05/0.3098, allocations: 35.39 kB / 0.5221 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.31, allocations: 120.4 kB / 0.5223 GB, free: 1.969 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.31, allocations: 0 / 0.5223 GB, free: 1.969 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.31, allocations: 0 / 0.5223 GB, free: 1.969 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.31, allocations: 0 / 0.5223 GB, free: 1.969 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004312/0.3104, allocations: 429.2 kB / 0.5227 GB, free: 1.555 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.3105, allocations: 9.875 kB / 0.5227 GB, free: 1.555 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.08e-05/0.3105, allocations: 11.11 kB / 0.5227 GB, free: 1.551 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.3107, allocations: 200.2 kB / 0.5229 GB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.675e-06/0.3107, allocations: 9.406 kB / 0.5229 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.3107, allocations: 3.672 kB / 0.5229 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.3109, allocations: 68.39 kB / 0.523 GB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.3109, allocations: 0.7031 kB / 0.523 GB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.3109, allocations: 1.781 kB / 0.523 GB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.3109, allocations: 3.938 kB / 0.523 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.315e-05/0.311, allocations: 24.8 kB / 0.523 GB, free: 1.266 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002994/0.3113, allocations: 303 kB / 0.5233 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.428e-05/0.3114, allocations: 48.38 kB / 0.5233 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.64e-05/0.3115, allocations: 17.3 kB / 0.5233 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.3115, allocations: 1.766 kB / 0.5233 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.353e-05/0.3115, allocations: 32.09 kB / 0.5234 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.3115, allocations: 1.031 kB / 0.5234 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008188/0.3124, allocations: 232.3 kB / 0.5236 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.126e-05/0.3124, allocations: 52.47 kB / 0.5236 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002178/0.3126, allocations: 272.8 kB / 0.5239 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/0.3126, allocations: 30.45 kB / 0.5239 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.257e-05/0.3127, allocations: 116.5 kB / 0.524 GB, free: 444 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.3127, allocations: 24.77 kB / 0.5241 GB, free: 424 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.295e-05/0.3128, allocations: 24.27 kB / 0.5241 GB, free: 400 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.033e-05/0.3128, allocations: 328 kB / 0.5244 GB, free: 72 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.305e-05/0.3129, allocations: 22.69 kB / 0.5244 GB, free: 68 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.687e-05/0.313, allocations: 30.94 kB / 0.5244 GB, free: 56 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.3131, allocations: 64.12 kB / 0.5245 GB, free: 28 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.3131, allocations: 0 / 0.5245 GB, free: 28 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002189/0.3133, allocations: 100.8 kB / 0.5246 GB, free: 15.97 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.3134, allocations: 6.328 kB / 0.5246 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3134, allocations: 0 / 0.5246 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.3134, allocations: 1 kB / 0.5246 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.404e-05/0.3135, allocations: 17.59 kB / 0.5246 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.3135, allocations: 5.344 kB / 0.5246 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.551e-05/0.3136, allocations: 16.28 kB / 0.5247 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.864e-06/0.3136, allocations: 2.812 kB / 0.5247 GB, free: 15.96 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 9.649e-05/0.3137, allocations: 133.6 kB / 0.5248 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.667e-05/0.3137, allocations: 13.62 kB / 0.5248 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002547/0.314, allocations: 118.3 kB / 0.5249 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.314, allocations: 1.125 kB / 0.5249 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.314, allocations: 3.938 kB / 0.5249 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.314, allocations: 4.656 kB / 0.5249 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004984/0.3145, allocations: 411.1 kB / 0.5253 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.3145, allocations: 1.922 kB / 0.5253 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.772e-05/0.3146, allocations: 23.8 kB / 0.5253 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.3146, allocations: 1.672 kB / 0.5253 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.3146, allocations: 9.125 kB / 0.5253 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.3146, allocations: 1.812 kB / 0.5253 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3147, allocations: 5.25 kB / 0.5253 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002284/0.3149, allocations: 199 kB / 0.5255 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.168e-05/0.3149, allocations: 96.95 kB / 0.5256 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.315, allocations: 2.422 kB / 0.5256 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.176e-05/0.315, allocations: 5.469 kB / 0.5256 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.927e-05/0.3151, allocations: 17.92 kB / 0.5257 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.3151, allocations: 1.781 kB / 0.5257 GB, free: 15.1 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001542/0.3153, allocations: 205.1 kB / 0.5259 GB, free: 14.99 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3153, allocations: 3.062 kB / 0.5259 GB, free: 14.99 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000247/0.3155, allocations: 18.27 kB / 0.5259 GB, free: 14.98 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.000984/0.3165, allocations: 459.4 kB / 0.5263 GB, free: 14.77 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002103/0.3167, allocations: 64.38 kB / 0.5264 GB, free: 14.75 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3167, allocations: 0 / 0.5264 GB, free: 14.75 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.386e-05/0.3168, allocations: 35.72 kB / 0.5264 GB, free: 14.75 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.3172, allocations: 25.77 kB / 0.5264 GB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005021/0.3177, allocations: 322.8 kB / 0.5267 GB, free: 14.51 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.3179, allocations: 0.7203 MB / 0.5274 GB, free: 13.8 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.748e-05/0.318, allocations: 15.67 kB / 0.5275 GB, free: 13.8 MB / 398.1 MB Notification: Performance of SimCode: time 2.01e-07/0.318, allocations: 0 / 0.5275 GB, free: 13.8 MB / 398.1 MB Notification: Performance of Templates: time 0.003515/0.3215, allocations: 1.846 MB / 0.5293 GB, free: 13.06 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches