Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 109.3 kB / 18.45 MB, free: 4.625 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.001191/0.001191, allocations: 185.1 kB / 19.37 MB, free: 3.707 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.245/1.245, allocations: 222.9 MB / 243.1 MB, free: 15.06 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.1936/0.1936, allocations: 44.18 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 67.88 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.306, allocations: 60.82 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.002408/0.3085, allocations: 1.578 MB / 0.5211 GB, free: 2.527 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.3097, allocations: 1.041 MB / 0.5221 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.341e-05/0.3098, allocations: 5.094 kB / 0.5221 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001976/0.31, allocations: 16.56 kB / 0.5222 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001659/0.3101, allocations: 46.38 kB / 0.5222 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002699/0.3104, allocations: 119.1 kB / 0.5223 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.3106, allocations: 66.33 kB / 0.5224 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.3107, allocations: 22.02 kB / 0.5224 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.57e-05/0.3107, allocations: 29.31 kB / 0.5224 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.3109, allocations: 31.33 kB / 0.5225 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.3109, allocations: 4.594 kB / 0.5225 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.311, allocations: 55.58 kB / 0.5225 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.119e-05/0.311, allocations: 14.91 kB / 0.5225 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.247e-05/0.3111, allocations: 27.38 kB / 0.5226 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001796/0.3113, allocations: 102.1 kB / 0.5227 GB, free: 1.531 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3113, allocations: 0.6562 kB / 0.5227 GB, free: 1.531 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3113, allocations: 4 kB / 0.5227 GB, free: 1.527 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.3113, allocations: 1.156 kB / 0.5227 GB, free: 1.527 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003686/0.3117, allocations: 384.5 kB / 0.523 GB, free: 1.145 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.3117, allocations: 9.25 kB / 0.523 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.858e-05/0.3117, allocations: 9.734 kB / 0.523 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.3119, allocations: 192.9 kB / 0.5232 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.3119, allocations: 5.688 kB / 0.5232 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.3119, allocations: 2.938 kB / 0.5232 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.3121, allocations: 88.58 kB / 0.5233 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.3121, allocations: 4.875 kB / 0.5233 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.3121, allocations: 2.438 kB / 0.5233 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.3121, allocations: 7.938 kB / 0.5233 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.3123, allocations: 39.75 kB / 0.5234 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003348/0.3126, allocations: 296.5 kB / 0.5237 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.3127, allocations: 63.55 kB / 0.5237 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.078e-05/0.3128, allocations: 22.11 kB / 0.5237 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.3128, allocations: 2.188 kB / 0.5237 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.543e-05/0.3128, allocations: 31.97 kB / 0.5238 GB, free: 464 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.3128, allocations: 0 / 0.5238 GB, free: 464 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005897/0.3134, allocations: 197.8 kB / 0.524 GB, free: 372 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.3135, allocations: 78.94 kB / 0.524 GB, free: 276 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.3136, allocations: 139.3 kB / 0.5242 GB, free: 160 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.947e-06/0.3136, allocations: 25.7 kB / 0.5242 GB, free: 128 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.256e-05/0.3137, allocations: 98.69 kB / 0.5243 GB, free: 32 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.277e-05/0.3137, allocations: 25.22 kB / 0.5243 GB, free: 12 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-05/0.3137, allocations: 21.16 kB / 0.5243 GB, free: 15.99 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.669e-05/0.3138, allocations: 323.9 kB / 0.5246 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.469e-05/0.3139, allocations: 29.23 kB / 0.5247 GB, free: 15.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.884e-05/0.314, allocations: 43.98 kB / 0.5247 GB, free: 15.64 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.3142, allocations: 71.55 kB / 0.5248 GB, free: 15.61 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3142, allocations: 0 / 0.5248 GB, free: 15.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002127/0.3144, allocations: 111.5 kB / 0.5249 GB, free: 15.55 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.3144, allocations: 6.188 kB / 0.5249 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-06/0.3145, allocations: 0 / 0.5249 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.3145, allocations: 0 / 0.5249 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.833e-05/0.3146, allocations: 17.91 kB / 0.5249 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.3146, allocations: 3.938 kB / 0.5249 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.892e-05/0.3146, allocations: 14.55 kB / 0.5249 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.3147, allocations: 5.344 kB / 0.5249 GB, free: 15.54 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 8.189e-05/0.3147, allocations: 121.4 kB / 0.525 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.446e-05/0.3148, allocations: 8.25 kB / 0.5251 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002763/0.3151, allocations: 124.4 kB / 0.5252 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.3151, allocations: 2 kB / 0.5252 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.3151, allocations: 3.938 kB / 0.5252 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3151, allocations: 4.594 kB / 0.5252 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004543/0.3156, allocations: 403.6 kB / 0.5256 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3156, allocations: 3.938 kB / 0.5256 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.464e-05/0.3156, allocations: 17.39 kB / 0.5256 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.3156, allocations: 5.812 kB / 0.5256 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.3157, allocations: 4.375 kB / 0.5256 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.3157, allocations: 1.859 kB / 0.5256 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.3157, allocations: 4 kB / 0.5256 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002463/0.3159, allocations: 205.4 kB / 0.5258 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.53e-05/0.316, allocations: 87.36 kB / 0.5259 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.316, allocations: 0.7031 kB / 0.5259 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.877e-05/0.3161, allocations: 6.891 kB / 0.5259 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.91e-05/0.3161, allocations: 3.531 kB / 0.5259 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.3161, allocations: 4.297 kB / 0.5259 GB, free: 14.72 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.832e-05/0.3162, allocations: 114 kB / 0.526 GB, free: 14.63 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3162, allocations: 0 / 0.526 GB, free: 14.63 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002754/0.3165, allocations: 25.41 kB / 0.526 GB, free: 14.62 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 (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.0009209/0.3174, allocations: 455.8 kB / 0.5265 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002477/0.3177, allocations: 75.5 kB / 0.5265 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3177, allocations: 4 kB / 0.5265 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.863e-05/0.3178, allocations: 39.22 kB / 0.5266 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.3181, allocations: 17.05 kB / 0.5266 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000399/0.3185, allocations: 228.2 kB / 0.5268 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002338/0.3188, allocations: 0.6983 MB / 0.5275 GB, free: 13.48 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.944e-05/0.3188, allocations: 21.67 kB / 0.5275 GB, free: 13.47 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3188, allocations: 0 / 0.5275 GB, free: 13.47 MB / 398.1 MB Notification: Performance of Templates: time 0.003405/0.3223, allocations: 1.783 MB / 0.5293 GB, free: 12.86 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches