Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 109.6 kB / 18.45 MB, free: 4.621 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.001278/0.001278, allocations: 186.2 kB / 19.38 MB, free: 3.699 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.34/1.34, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.2207/0.2207, allocations: 44.19 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 67.84 kB / 471.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3899/0.3912, allocations: 60.83 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.002886/0.3941, allocations: 1.666 MB / 0.5213 GB, free: 2.445 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001292/0.3954, allocations: 0.8452 MB / 0.5221 GB, free: 1.867 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.27e-05/0.3955, allocations: 4.969 kB / 0.5221 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003214/0.3958, allocations: 51.89 kB / 0.5221 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002275/0.3961, allocations: 61.34 kB / 0.5222 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002697/0.3964, allocations: 102.9 kB / 0.5223 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001699/0.3965, allocations: 96.45 kB / 0.5224 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.127e-05/0.3966, allocations: 10.08 kB / 0.5224 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.3967, allocations: 45.08 kB / 0.5224 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.3968, allocations: 39.73 kB / 0.5225 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.3968, allocations: 2.812 kB / 0.5225 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.622e-05/0.3969, allocations: 29.61 kB / 0.5225 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.503e-05/0.397, allocations: 17.58 kB / 0.5225 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.727e-05/0.397, allocations: 39.92 kB / 0.5226 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.3972, allocations: 90.2 kB / 0.5227 GB, free: 1.598 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3973, allocations: 0 / 0.5227 GB, free: 1.598 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.3973, allocations: 5.562 kB / 0.5227 GB, free: 1.594 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.3973, allocations: 0 / 0.5227 GB, free: 1.594 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004672/0.3977, allocations: 396.2 kB / 0.523 GB, free: 1.199 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.3978, allocations: 10.42 kB / 0.5231 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.753e-05/0.3978, allocations: 7.625 kB / 0.5231 GB, free: 1.195 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002215/0.3981, allocations: 209.2 kB / 0.5233 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.3981, allocations: 5.562 kB / 0.5233 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.3981, allocations: 7 kB / 0.5233 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.3982, allocations: 50.09 kB / 0.5233 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.3983, allocations: 1.156 kB / 0.5233 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.3983, allocations: 0 / 0.5233 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.3983, allocations: 0.9375 kB / 0.5233 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.814e-05/0.3984, allocations: 15.12 kB / 0.5233 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001613/0.3985, allocations: 177.3 kB / 0.5235 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001539/0.3987, allocations: 53.05 kB / 0.5236 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.068e-05/0.3988, allocations: 27.22 kB / 0.5236 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.3988, allocations: 1.156 kB / 0.5236 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001373/0.3989, allocations: 69.38 kB / 0.5236 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 2.023e-06/0.3989, allocations: 3.984 kB / 0.5237 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002773/0.3992, allocations: 95.39 kB / 0.5237 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/0.3993, allocations: 53.28 kB / 0.5238 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.3994, allocations: 172.2 kB / 0.524 GB, free: 376 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.3994, allocations: 27.66 kB / 0.524 GB, free: 344 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.568e-05/0.3995, allocations: 98.2 kB / 0.5241 GB, free: 248 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.3995, allocations: 11.72 kB / 0.5241 GB, free: 240 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.26e-05/0.3995, allocations: 19.58 kB / 0.5241 GB, free: 220 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.489e-05/0.3996, allocations: 321.6 kB / 0.5244 GB, free: 15.9 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.311e-05/0.3997, allocations: 13.67 kB / 0.5244 GB, free: 15.89 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.059e-05/0.3998, allocations: 38.55 kB / 0.5245 GB, free: 15.86 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/0.3999, allocations: 46.06 kB / 0.5245 GB, free: 15.83 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3999, allocations: 0 / 0.5245 GB, free: 15.83 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001531/0.4001, allocations: 81.36 kB / 0.5246 GB, free: 15.78 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.4001, allocations: 4.5 kB / 0.5246 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.4001, allocations: 1.625 kB / 0.5246 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.4001, allocations: 1.812 kB / 0.5246 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.535e-05/0.4002, allocations: 17.12 kB / 0.5246 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.4002, allocations: 6 kB / 0.5246 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.531e-05/0.4003, allocations: 6.594 kB / 0.5246 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.4003, allocations: 2.797 kB / 0.5246 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 (7): * Single equations (assignments): 7 * 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.000102/0.4004, allocations: 132.2 kB / 0.5247 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.459e-05/0.4004, allocations: 11.84 kB / 0.5248 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.606e-05/0.4005, allocations: 10.03 kB / 0.5248 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.4005, allocations: 1.922 kB / 0.5248 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.4005, allocations: 0 / 0.5248 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.4005, allocations: 4 kB / 0.5248 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/0.4006, allocations: 189.1 kB / 0.525 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.4006, allocations: 1.125 kB / 0.525 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.101e-05/0.4007, allocations: 6.406 kB / 0.525 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.4007, allocations: 1.75 kB / 0.525 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.4007, allocations: 2.078 kB / 0.525 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.4007, allocations: 0 / 0.525 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.4007, allocations: 1.312 kB / 0.525 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000208/0.4009, allocations: 116.2 kB / 0.5251 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.344e-05/0.401, allocations: 83.23 kB / 0.5252 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/0.401, allocations: 2.141 kB / 0.5252 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.532e-05/0.401, allocations: 2.922 kB / 0.5252 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/0.4011, allocations: 8.25 kB / 0.5252 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.4011, allocations: 2.156 kB / 0.5252 GB, free: 15.21 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001087/0.4012, allocations: 130.7 kB / 0.5253 GB, free: 15.12 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4012, allocations: 0 / 0.5253 GB, free: 15.12 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002196/0.4014, allocations: 21.81 kB / 0.5253 GB, free: 15.12 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009143/0.4024, allocations: 415.4 kB / 0.5257 GB, free: 14.92 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001629/0.4025, allocations: 45.62 kB / 0.5258 GB, free: 14.91 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.4026, allocations: 4 kB / 0.5258 GB, free: 14.9 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.482e-05/0.4026, allocations: 17.77 kB / 0.5258 GB, free: 14.9 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.4029, allocations: 26.31 kB / 0.5258 GB, free: 14.89 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004093/0.4033, allocations: 204.7 kB / 0.526 GB, free: 14.72 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.4036, allocations: 0.7081 MB / 0.5267 GB, free: 14.02 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.271e-05/0.4037, allocations: 13.86 kB / 0.5267 GB, free: 14.01 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4037, allocations: 0 / 0.5267 GB, free: 14.01 MB / 398.1 MB Notification: Performance of Templates: time 0.003556/0.4072, allocations: 1.662 MB / 0.5283 GB, free: 13.53 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches