Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 113.3 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.0009592/0.0009592, allocations: 185.1 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.215/1.215, 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.1788/0.1788, allocations: 44.17 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 59.91 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3048, allocations: 60.83 MB / 0.5196 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.002417/0.3072, allocations: 1.58 MB / 0.5211 GB, free: 2.535 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006323/0.3079, allocations: 409.8 kB / 0.5215 GB, free: 2.266 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.253e-05/0.3079, allocations: 1.062 kB / 0.5215 GB, free: 2.266 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002406/0.3082, allocations: 72.12 kB / 0.5216 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002007/0.3084, allocations: 68.53 kB / 0.5217 GB, free: 2.223 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002214/0.3086, allocations: 84.66 kB / 0.5217 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001471/0.3088, allocations: 73.92 kB / 0.5218 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.257e-05/0.3089, allocations: 18.78 kB / 0.5218 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.263e-05/0.3089, allocations: 36.88 kB / 0.5219 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.309, allocations: 54.75 kB / 0.5219 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.3091, allocations: 2.062 kB / 0.5219 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.131e-05/0.3092, allocations: 43.36 kB / 0.522 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.533e-05/0.3092, allocations: 18.94 kB / 0.522 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.131e-05/0.3092, allocations: 30.27 kB / 0.522 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001568/0.3094, allocations: 95.42 kB / 0.5221 GB, free: 2.031 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3094, allocations: 5.156 kB / 0.5221 GB, free: 2.027 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3094, allocations: 4 kB / 0.5221 GB, free: 2.023 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.3094, allocations: 3.938 kB / 0.5221 GB, free: 2.02 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.0003452/0.3098, allocations: 401.6 kB / 0.5225 GB, free: 1.625 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.976e-05/0.3098, allocations: 9.844 kB / 0.5225 GB, free: 1.625 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.642e-05/0.3099, allocations: 9.922 kB / 0.5225 GB, free: 1.621 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.31, allocations: 196.6 kB / 0.5227 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.31, allocations: 3.312 kB / 0.5227 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.31, allocations: 10.41 kB / 0.5227 GB, free: 1.398 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.3102, allocations: 56.16 kB / 0.5228 GB, free: 1.355 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.3102, allocations: 4 kB / 0.5228 GB, free: 1.352 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.3102, allocations: 5.938 kB / 0.5228 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.3102, allocations: 5.156 kB / 0.5228 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.848e-05/0.3103, allocations: 24.36 kB / 0.5228 GB, free: 1.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002619/0.3106, allocations: 289.1 kB / 0.5231 GB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.884e-05/0.3107, allocations: 47.03 kB / 0.5231 GB, free: 1.016 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.213e-05/0.3107, allocations: 18.97 kB / 0.5231 GB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.3107, allocations: 1.406 kB / 0.5231 GB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.42e-05/0.3107, allocations: 32.55 kB / 0.5232 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.3108, allocations: 0 / 0.5232 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007753/0.3115, allocations: 223 kB / 0.5234 GB, free: 0.875 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.324e-05/0.3116, allocations: 52.84 kB / 0.5234 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001671/0.3117, allocations: 210.7 kB / 0.5236 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.476e-06/0.3118, allocations: 29.64 kB / 0.5237 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.662e-05/0.3118, allocations: 109.4 kB / 0.5238 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.096e-05/0.3118, allocations: 23.77 kB / 0.5238 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.227e-05/0.3119, allocations: 25.55 kB / 0.5238 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.367e-05/0.3119, allocations: 322.6 kB / 0.5241 GB, free: 184 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.594e-05/0.312, allocations: 25.48 kB / 0.5241 GB, free: 176 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.523e-05/0.3121, allocations: 23.53 kB / 0.5242 GB, free: 172 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.3122, allocations: 62.44 kB / 0.5242 GB, free: 144 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3122, allocations: 1.188 kB / 0.5242 GB, free: 144 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001872/0.3124, allocations: 109.5 kB / 0.5243 GB, free: 80 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.3124, allocations: 7.625 kB / 0.5243 GB, free: 80 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3124, allocations: 0.7031 kB / 0.5243 GB, free: 80 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.3124, allocations: 5.141 kB / 0.5243 GB, free: 76 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.062e-05/0.3125, allocations: 20.8 kB / 0.5244 GB, free: 72 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.3126, allocations: 5.031 kB / 0.5244 GB, free: 68 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.863e-05/0.3126, allocations: 5.156 kB / 0.5244 GB, free: 68 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.3126, allocations: 2.156 kB / 0.5244 GB, free: 68 kB / 382.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 0.0001098/0.3127, allocations: 130.9 kB / 0.5245 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.54e-05/0.3128, allocations: 10.06 kB / 0.5245 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002539/0.313, allocations: 117.5 kB / 0.5246 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.313, allocations: 1.5 kB / 0.5246 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.313, allocations: 3.938 kB / 0.5246 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.3131, allocations: 0.7969 kB / 0.5246 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004689/0.3135, allocations: 407.9 kB / 0.525 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.3135, allocations: 1.438 kB / 0.525 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.517e-05/0.3136, allocations: 20.61 kB / 0.525 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3136, allocations: 1.844 kB / 0.525 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.3136, allocations: 4 kB / 0.525 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3136, allocations: 2.25 kB / 0.5251 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3136, allocations: 0 / 0.5251 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/0.3139, allocations: 203 kB / 0.5252 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.919e-05/0.3139, allocations: 93.3 kB / 0.5253 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.314, allocations: 6.969 kB / 0.5253 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.789e-05/0.314, allocations: 3.969 kB / 0.5253 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.3141, allocations: 5.594 kB / 0.5253 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.3141, allocations: 6.594 kB / 0.5254 GB, free: 15.23 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001208/0.3142, allocations: 160.1 kB / 0.5255 GB, free: 15.13 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3142, allocations: 0 / 0.5255 GB, free: 15.13 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002424/0.3145, allocations: 18.55 kB / 0.5255 GB, free: 15.12 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.0009748/0.3154, allocations: 456.4 kB / 0.526 GB, free: 14.91 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002191/0.3157, allocations: 68.55 kB / 0.526 GB, free: 14.89 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3157, allocations: 0 / 0.526 GB, free: 14.89 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.3158, allocations: 31.22 kB / 0.5261 GB, free: 14.89 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.3161, allocations: 21.78 kB / 0.5261 GB, free: 14.88 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004443/0.3166, allocations: 287.1 kB / 0.5264 GB, free: 14.65 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/0.3168, allocations: 0.7064 MB / 0.527 GB, free: 13.95 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.685e-05/0.3169, allocations: 15.16 kB / 0.5271 GB, free: 13.95 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3169, allocations: 0 / 0.5271 GB, free: 13.95 MB / 398.1 MB Notification: Performance of Templates: time 0.003663/0.3205, allocations: 1.712 MB / 0.5287 GB, free: 13.39 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches