Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,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.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,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.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 222.9 MB / 241.6 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 96.94 kB / 291.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3606/0.3606, allocations: 44.13 MB / 386.1 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001039/0.001039, allocations: 51.92 kB / 457.8 MB, free: 2.285 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3919/0.3929, allocations: 60.8 MB / 0.5064 GB, free: 38.38 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003925/0.3969, allocations: 1.763 MB / 0.5081 GB, free: 37.17 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.3984, allocations: 0.8768 MB / 0.509 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.232e-05/0.3985, allocations: 0 / 0.509 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003443/0.3988, allocations: 31.14 kB / 0.509 GB, free: 36.56 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001932/0.3991, allocations: 48.73 kB / 0.509 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000271/0.3994, allocations: 95.94 kB / 0.5091 GB, free: 36.49 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000174/0.3996, allocations: 95.44 kB / 0.5092 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.3997, allocations: 19.97 kB / 0.5092 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.634e-05/0.3998, allocations: 40.86 kB / 0.5093 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.091e-05/0.3999, allocations: 36.38 kB / 0.5093 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.3999, allocations: 3.906 kB / 0.5093 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.4, allocations: 36.19 kB / 0.5094 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.173e-05/0.4001, allocations: 15.52 kB / 0.5094 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.241e-05/0.4002, allocations: 35.34 kB / 0.5094 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.4004, allocations: 110.3 kB / 0.5095 GB, free: 36.31 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4004, allocations: 4 kB / 0.5095 GB, free: 36.31 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4004, allocations: 0 / 0.5095 GB, free: 36.31 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.4004, allocations: 0 / 0.5095 GB, free: 36.31 MB / 378.7 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.0005964/0.401, allocations: 408.1 kB / 0.5099 GB, free: 35.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.4011, allocations: 8.688 kB / 0.5099 GB, free: 35.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.358e-05/0.4011, allocations: 21.83 kB / 0.5099 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/0.4013, allocations: 212.5 kB / 0.5101 GB, free: 35.67 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.4013, allocations: 3.406 kB / 0.5101 GB, free: 35.67 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.4014, allocations: 7.031 kB / 0.5101 GB, free: 35.67 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.4015, allocations: 59.05 kB / 0.5102 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.4016, allocations: 0 / 0.5102 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.4016, allocations: 0 / 0.5102 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.4016, allocations: 2.969 kB / 0.5102 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.532e-05/0.4017, allocations: 16.05 kB / 0.5102 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003232/0.402, allocations: 291.1 kB / 0.5105 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001549/0.4022, allocations: 64.36 kB / 0.5106 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.855e-05/0.4022, allocations: 21.12 kB / 0.5106 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.4022, allocations: 0 / 0.5106 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002082/0.4025, allocations: 72.67 kB / 0.5107 GB, free: 35.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.4025, allocations: 0 / 0.5107 GB, free: 35.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.00056/0.403, allocations: 178.9 kB / 0.5108 GB, free: 35.12 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.4031, allocations: 51.41 kB / 0.5109 GB, free: 35.06 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001672/0.4033, allocations: 200.5 kB / 0.5111 GB, free: 34.92 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.4033, allocations: 28.64 kB / 0.5111 GB, free: 34.89 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.08e-05/0.4033, allocations: 102.5 kB / 0.5112 GB, free: 34.79 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.333e-05/0.4034, allocations: 28.94 kB / 0.5112 GB, free: 34.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-05/0.4034, allocations: 19.69 kB / 0.5112 GB, free: 34.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.417e-05/0.4035, allocations: 332.3 kB / 0.5116 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.4e-05/0.4036, allocations: 26.81 kB / 0.5116 GB, free: 34.42 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.597e-05/0.4036, allocations: 33.38 kB / 0.5116 GB, free: 34.39 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.4037, allocations: 68.56 kB / 0.5117 GB, free: 34.35 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.4037, allocations: 0 / 0.5117 GB, free: 34.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001589/0.4039, allocations: 90.72 kB / 0.5118 GB, free: 34.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.4039, allocations: 5.5 kB / 0.5118 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.4039, allocations: 7.406 kB / 0.5118 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.404, allocations: 0 / 0.5118 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.599e-05/0.4041, allocations: 21.62 kB / 0.5118 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.4041, allocations: 0 / 0.5118 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.582e-05/0.4041, allocations: 10.2 kB / 0.5118 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.4041, allocations: 2.906 kB / 0.5118 GB, free: 34.29 MB / 378.7 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 8.5e-05/0.4042, allocations: 128.9 kB / 0.5119 GB, free: 34.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.114e-05/0.4043, allocations: 17.41 kB / 0.5119 GB, free: 34.15 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.242e-05/0.4043, allocations: 12.28 kB / 0.512 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.4043, allocations: 6.875 kB / 0.512 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.4043, allocations: 0 / 0.512 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.4043, allocations: 11.34 kB / 0.512 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00035/0.4047, allocations: 388.5 kB / 0.5123 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.4047, allocations: 0 / 0.5123 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.994e-05/0.4048, allocations: 11.95 kB / 0.5124 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.4048, allocations: 0 / 0.5124 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.4048, allocations: 7.188 kB / 0.5124 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.4048, allocations: 7.969 kB / 0.5124 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.4048, allocations: 6.906 kB / 0.5124 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003907/0.4052, allocations: 0.7861 MB / 0.5131 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.121e-05/0.4052, allocations: 83.89 kB / 0.5132 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.4053, allocations: 2.812 kB / 0.5132 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.523e-05/0.4053, allocations: 7.422 kB / 0.5132 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.4054, allocations: 9.625 kB / 0.5132 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.4054, allocations: 6 kB / 0.5133 GB, free: 32.9 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.819e-05/0.4055, allocations: 149.8 kB / 0.5134 GB, free: 32.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4055, allocations: 0 / 0.5134 GB, free: 32.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003413/0.4058, allocations: 25.16 kB / 0.5134 GB, free: 32.8 MB / 378.7 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.000999/0.4069, allocations: 461.1 kB / 0.5139 GB, free: 32.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001875/0.407, allocations: 66.64 kB / 0.5139 GB, free: 32.56 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.4071, allocations: 0 / 0.5139 GB, free: 32.56 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.913e-05/0.4071, allocations: 30.41 kB / 0.5139 GB, free: 32.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003327/0.4075, allocations: 35.5 kB / 0.514 GB, free: 32.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004628/0.408, allocations: 380.2 kB / 0.5143 GB, free: 32.22 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001338/0.4081, allocations: 0.7058 MB / 0.515 GB, free: 31.53 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.818e-05/0.4082, allocations: 12.81 kB / 0.515 GB, free: 31.53 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.455e-05/0.4082, allocations: 16.16 kB / 0.5151 GB, free: 31.52 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4082, allocations: 0 / 0.5151 GB, free: 31.52 MB / 378.7 MB Notification: Performance of Templates: time 0.003784/0.412, allocations: 1.68 MB / 0.5167 GB, free: 31.33 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches