Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 113.2 kB / 17.78 MB, free: 5.242 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.001243/0.001244, allocations: 185 kB / 18.71 MB, free: 4.32 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.424/1.424, allocations: 222.9 MB / 242.4 MB, free: 15.14 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.2115/0.2115, allocations: 44.19 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 55.91 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5073/0.5092, allocations: 60.83 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.003361/0.5126, allocations: 1.62 MB / 0.5205 GB, free: 2.488 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007963/0.5134, allocations: 416 kB / 0.5209 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.713e-05/0.5135, allocations: 1.188 kB / 0.5209 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002596/0.5138, allocations: 36.38 kB / 0.5209 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002166/0.514, allocations: 39.41 kB / 0.521 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002812/0.5143, allocations: 91.52 kB / 0.5211 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001924/0.5145, allocations: 75.77 kB / 0.5211 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.5146, allocations: 34.38 kB / 0.5212 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.192e-05/0.5147, allocations: 28.08 kB / 0.5212 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.5148, allocations: 34.38 kB / 0.5212 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.5148, allocations: 4.062 kB / 0.5212 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.5149, allocations: 44.3 kB / 0.5213 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.957e-05/0.515, allocations: 17.8 kB / 0.5213 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.813e-05/0.5151, allocations: 32.12 kB / 0.5213 GB, free: 2.008 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.5153, allocations: 111.3 kB / 0.5214 GB, free: 1.957 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.5153, allocations: 0 / 0.5214 GB, free: 1.957 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.5153, allocations: 1.281 kB / 0.5214 GB, free: 1.957 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.5153, allocations: 0 / 0.5214 GB, free: 1.957 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004796/0.5158, allocations: 396.6 kB / 0.5218 GB, free: 1.562 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.5159, allocations: 9.594 kB / 0.5218 GB, free: 1.562 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.677e-05/0.5159, allocations: 9.125 kB / 0.5218 GB, free: 1.559 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/0.5161, allocations: 193.6 kB / 0.522 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.5161, allocations: 2.438 kB / 0.522 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.903e-05/0.5161, allocations: 8.797 kB / 0.522 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.5163, allocations: 74.78 kB / 0.5221 GB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.5163, allocations: 1.312 kB / 0.5221 GB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.5164, allocations: 8 kB / 0.5221 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.5164, allocations: 2 kB / 0.5221 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.5165, allocations: 39.8 kB / 0.5221 GB, free: 1.277 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004272/0.5169, allocations: 319.3 kB / 0.5224 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001431/0.5171, allocations: 64.67 kB / 0.5225 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.413e-05/0.5172, allocations: 30.39 kB / 0.5225 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.5172, allocations: 1.609 kB / 0.5225 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.5172, allocations: 36.31 kB / 0.5226 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.5172, allocations: 0 / 0.5226 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.001073/0.5183, allocations: 301.2 kB / 0.5229 GB, free: 0.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.5184, allocations: 53.5 kB / 0.5229 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.5185, allocations: 152.8 kB / 0.5231 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.5185, allocations: 30.41 kB / 0.5231 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.639e-05/0.5186, allocations: 99.17 kB / 0.5232 GB, free: 456 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.834e-05/0.5186, allocations: 40.16 kB / 0.5232 GB, free: 424 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.389e-05/0.5187, allocations: 31.94 kB / 0.5233 GB, free: 396 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.989e-05/0.5187, allocations: 325.6 kB / 0.5236 GB, free: 68 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.397e-05/0.5188, allocations: 34.3 kB / 0.5236 GB, free: 60 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.794e-05/0.5189, allocations: 42.25 kB / 0.5236 GB, free: 48 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001891/0.5191, allocations: 90.17 kB / 0.5237 GB, free: 8 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.5191, allocations: 0 / 0.5237 GB, free: 8 kB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002962/0.5194, allocations: 132.6 kB / 0.5238 GB, free: 15.94 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.5195, allocations: 9.656 kB / 0.5239 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.5195, allocations: 0 / 0.5239 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.5195, allocations: 6.094 kB / 0.5239 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.5196, allocations: 24.7 kB / 0.5239 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.423e-06/0.5197, allocations: 1.156 kB / 0.5239 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.747e-05/0.5197, allocations: 9 kB / 0.5239 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.5197, allocations: 3.531 kB / 0.5239 GB, free: 15.93 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 (13): * Single equations (assignments): 13 * 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 0.000114/0.5198, allocations: 130.2 kB / 0.524 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.692e-05/0.5199, allocations: 12.75 kB / 0.524 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003688/0.5203, allocations: 159 kB / 0.5242 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.5203, allocations: 1.25 kB / 0.5242 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.5203, allocations: 1.125 kB / 0.5242 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.5203, allocations: 0.9844 kB / 0.5242 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006588/0.521, allocations: 469.5 kB / 0.5246 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.521, allocations: 0 / 0.5246 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.931e-05/0.5211, allocations: 32.52 kB / 0.5247 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.5211, allocations: 1.531 kB / 0.5247 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.5211, allocations: 2.25 kB / 0.5247 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.5211, allocations: 1.5 kB / 0.5247 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.5211, allocations: 1.375 kB / 0.5247 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003355/0.5215, allocations: 243 kB / 0.5249 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.236e-05/0.5215, allocations: 84.72 kB / 0.525 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.305e-05/0.5215, allocations: 10.3 kB / 0.525 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.153e-05/0.5216, allocations: 4.594 kB / 0.525 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.887e-05/0.5217, allocations: 8.5 kB / 0.525 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.5217, allocations: 8.562 kB / 0.525 GB, free: 15.03 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001065/0.5218, allocations: 118 kB / 0.5251 GB, free: 14.95 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5218, allocations: 7.938 kB / 0.5251 GB, free: 14.94 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002521/0.5221, allocations: 21.55 kB / 0.5252 GB, free: 14.94 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 (13): * Single equations (assignments): 13 * 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.001147/0.5232, allocations: 460.3 kB / 0.5256 GB, free: 14.72 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003033/0.5235, allocations: 100.2 kB / 0.5257 GB, free: 14.69 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5235, allocations: 0 / 0.5257 GB, free: 14.69 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.5237, allocations: 55.22 kB / 0.5257 GB, free: 14.68 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.524, allocations: 22.53 kB / 0.5258 GB, free: 14.67 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005299/0.5246, allocations: 241.1 kB / 0.526 GB, free: 14.49 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/0.5249, allocations: 0.7099 MB / 0.5267 GB, free: 13.79 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.935e-05/0.525, allocations: 16.98 kB / 0.5267 GB, free: 13.79 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.859e-05/0.5251, allocations: 17.28 kB / 0.5267 GB, free: 13.78 MB / 398.1 MB Notification: Performance of SimCode: time 1.81e-07/0.5251, allocations: 0 / 0.5267 GB, free: 13.78 MB / 398.1 MB Notification: Performance of Templates: time 0.005052/0.5301, allocations: 1.51 MB / 0.5282 GB, free: 13.29 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches