Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 113.4 kB / 17.78 MB, free: 5.27 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.001145/0.001145, allocations: 180.1 kB / 18.71 MB, free: 4.348 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.251/1.251, allocations: 222.9 MB / 242.4 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.1878/0.1878, allocations: 44.18 MB / 336.7 MB, free: 2.637 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 63.91 kB / 470.6 MB, free: 13.06 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.3007, allocations: 60.82 MB / 0.519 GB, free: 3.867 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.002799/0.3035, allocations: 1.699 MB / 0.5206 GB, free: 2.688 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.3047, allocations: 0.8832 MB / 0.5215 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.622e-05/0.3048, allocations: 3.938 kB / 0.5215 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000282/0.3051, allocations: 34.56 kB / 0.5215 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002023/0.3053, allocations: 58.53 kB / 0.5216 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002728/0.3056, allocations: 105.7 kB / 0.5217 GB, free: 1.969 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001639/0.3058, allocations: 99.62 kB / 0.5218 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.582e-05/0.3059, allocations: 15.92 kB / 0.5218 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.471e-05/0.306, allocations: 38.08 kB / 0.5218 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.319e-05/0.306, allocations: 38.02 kB / 0.5219 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.3061, allocations: 3.812 kB / 0.5219 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.039e-05/0.3062, allocations: 41.77 kB / 0.5219 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.515e-05/0.3062, allocations: 17.42 kB / 0.5219 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.005e-05/0.3063, allocations: 33.97 kB / 0.522 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.3065, allocations: 107.5 kB / 0.5221 GB, free: 1.785 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.3065, allocations: 0.9375 kB / 0.5221 GB, free: 1.785 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3065, allocations: 0 / 0.5221 GB, free: 1.785 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.3065, allocations: 0 / 0.5221 GB, free: 1.785 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004613/0.307, allocations: 417.5 kB / 0.5225 GB, free: 1.371 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.307, allocations: 8.656 kB / 0.5225 GB, free: 1.371 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.59e-05/0.3071, allocations: 9.891 kB / 0.5225 GB, free: 1.367 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001793/0.3072, allocations: 205.8 kB / 0.5227 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.3073, allocations: 2.438 kB / 0.5227 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.3073, allocations: 10.31 kB / 0.5227 GB, free: 1.148 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.3074, allocations: 50.41 kB / 0.5227 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.3074, allocations: 4.906 kB / 0.5228 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.3075, allocations: 8 kB / 0.5228 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.3075, allocations: 1.469 kB / 0.5228 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.696e-05/0.3075, allocations: 21.38 kB / 0.5228 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003026/0.3078, allocations: 282.3 kB / 0.5231 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001995/0.3081, allocations: 51.39 kB / 0.5231 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.312e-05/0.3081, allocations: 24.47 kB / 0.5231 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.3082, allocations: 5.312 kB / 0.5231 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001502/0.3083, allocations: 65.67 kB / 0.5232 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.3083, allocations: 0 / 0.5232 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005873/0.3089, allocations: 180.8 kB / 0.5234 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.634e-05/0.309, allocations: 56.44 kB / 0.5234 GB, free: 0.543 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.3091, allocations: 173.8 kB / 0.5236 GB, free: 428 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.3092, allocations: 27.61 kB / 0.5236 GB, free: 396 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.94e-05/0.3092, allocations: 97.78 kB / 0.5237 GB, free: 300 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.194e-05/0.3093, allocations: 26.77 kB / 0.5237 GB, free: 280 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.655e-05/0.3093, allocations: 21.89 kB / 0.5237 GB, free: 260 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.053e-05/0.3094, allocations: 329.7 kB / 0.5241 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.437e-05/0.3095, allocations: 17.19 kB / 0.5241 GB, free: 15.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.837e-05/0.3096, allocations: 43.53 kB / 0.5241 GB, free: 15.89 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.3097, allocations: 66.33 kB / 0.5242 GB, free: 15.85 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3098, allocations: 0 / 0.5242 GB, free: 15.85 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003025/0.3101, allocations: 104.6 kB / 0.5243 GB, free: 15.79 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.3101, allocations: 5.938 kB / 0.5243 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3101, allocations: 0 / 0.5243 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.3101, allocations: 1.719 kB / 0.5243 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.3102, allocations: 15.75 kB / 0.5243 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.3103, allocations: 5.875 kB / 0.5243 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.322e-05/0.3103, allocations: 10.31 kB / 0.5243 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.3104, allocations: 7.562 kB / 0.5243 GB, free: 15.77 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001153/0.3105, allocations: 123.4 kB / 0.5244 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/0.3105, allocations: 9.672 kB / 0.5245 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.818e-05/0.3106, allocations: 14.8 kB / 0.5245 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.3106, allocations: 0.75 kB / 0.5245 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3106, allocations: 1.25 kB / 0.5245 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.3106, allocations: 8.594 kB / 0.5245 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005418/0.3112, allocations: 384.8 kB / 0.5248 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.3112, allocations: 0.5156 kB / 0.5248 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.915e-05/0.3112, allocations: 16.73 kB / 0.5249 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3112, allocations: 1.219 kB / 0.5249 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.3113, allocations: 6.312 kB / 0.5249 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.3113, allocations: 1.156 kB / 0.5249 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3113, allocations: 1.219 kB / 0.5249 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002718/0.3116, allocations: 208.9 kB / 0.5251 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.549e-05/0.3116, allocations: 83.62 kB / 0.5252 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.514e-05/0.3117, allocations: 10.61 kB / 0.5252 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.821e-05/0.3117, allocations: 3.125 kB / 0.5252 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.3118, allocations: 9.75 kB / 0.5252 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.3118, allocations: 4.891 kB / 0.5252 GB, free: 15 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.985e-05/0.3119, allocations: 138.8 kB / 0.5253 GB, free: 14.9 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3119, allocations: 0 / 0.5253 GB, free: 14.9 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000249/0.3122, allocations: 21.28 kB / 0.5253 GB, free: 14.9 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009547/0.3131, allocations: 464 kB / 0.5258 GB, free: 14.69 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001807/0.3133, allocations: 60.89 kB / 0.5258 GB, free: 14.67 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3133, allocations: 0 / 0.5258 GB, free: 14.67 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.574e-05/0.3134, allocations: 25.42 kB / 0.5259 GB, free: 14.66 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.3137, allocations: 32.81 kB / 0.5259 GB, free: 14.65 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004521/0.3142, allocations: 212.9 kB / 0.5261 GB, free: 14.49 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/0.3145, allocations: 0.7003 MB / 0.5268 GB, free: 13.79 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.912e-05/0.3146, allocations: 17.98 kB / 0.5268 GB, free: 13.78 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.615e-05/0.3146, allocations: 20.08 kB / 0.5268 GB, free: 13.77 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3146, allocations: 0 / 0.5268 GB, free: 13.77 MB / 398.1 MB Notification: Performance of Templates: time 0.004454/0.3191, allocations: 1.729 MB / 0.5285 GB, free: 13.17 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches