Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,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.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,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.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001178/0.001178, 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.359/1.359, allocations: 222.9 MB / 241.6 MB, free: 10.98 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.0009798/0.0009796, allocations: 95.34 kB / 291.9 MB, free: 10.94 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.3764/0.3764, allocations: 44.13 MB / 386.1 MB, free: 37.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 59.86 kB / 457.7 MB, free: 2.293 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3836/0.3847, allocations: 60.81 MB / 0.5064 GB, free: 38.14 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.003058/0.3878, allocations: 1.754 MB / 0.5081 GB, free: 36.94 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.3892, allocations: 0.8722 MB / 0.509 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.69e-05/0.3893, allocations: 7.875 kB / 0.509 GB, free: 36.33 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003094/0.3897, allocations: 34.81 kB / 0.509 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001701/0.3899, allocations: 50.56 kB / 0.5091 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002782/0.3902, allocations: 99.06 kB / 0.5091 GB, free: 36.24 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001574/0.3903, allocations: 95.72 kB / 0.5092 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.3904, allocations: 9.484 kB / 0.5092 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.426e-05/0.3905, allocations: 39.47 kB / 0.5093 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.468e-05/0.3906, allocations: 30.73 kB / 0.5093 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.3906, allocations: 2.719 kB / 0.5093 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.455e-05/0.3907, allocations: 45.53 kB / 0.5094 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.841e-05/0.3908, allocations: 23.86 kB / 0.5094 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.592e-05/0.3908, allocations: 32.7 kB / 0.5094 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000172/0.391, allocations: 107.6 kB / 0.5095 GB, free: 36.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.391, allocations: 0 / 0.5095 GB, free: 36.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.391, allocations: 0 / 0.5095 GB, free: 36.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.391, allocations: 0 / 0.5095 GB, free: 36.07 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.0004631/0.3915, allocations: 412.5 kB / 0.5099 GB, free: 35.67 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.3916, allocations: 7.531 kB / 0.5099 GB, free: 35.67 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.257e-05/0.3916, allocations: 13.28 kB / 0.5099 GB, free: 35.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001875/0.3918, allocations: 222.8 kB / 0.5101 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.426e-06/0.3918, allocations: 1.531 kB / 0.5101 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.366e-05/0.3918, allocations: 7.156 kB / 0.5102 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.392, allocations: 51.89 kB / 0.5102 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.392, allocations: 0 / 0.5102 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.392, allocations: 4.484 kB / 0.5102 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.392, allocations: 1.156 kB / 0.5102 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.936e-05/0.3921, allocations: 17.23 kB / 0.5102 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002916/0.3924, allocations: 299.3 kB / 0.5105 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.3926, allocations: 51.97 kB / 0.5106 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.745e-05/0.3926, allocations: 24.42 kB / 0.5106 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.3926, allocations: 0 / 0.5106 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001875/0.3928, allocations: 65.88 kB / 0.5106 GB, free: 34.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.3928, allocations: 0 / 0.5106 GB, free: 34.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005515/0.3934, allocations: 179.6 kB / 0.5108 GB, free: 34.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.3934, allocations: 54 kB / 0.5109 GB, free: 34.83 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/0.3936, allocations: 200.4 kB / 0.5111 GB, free: 34.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.3936, allocations: 33.64 kB / 0.5111 GB, free: 34.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.863e-05/0.3937, allocations: 100.8 kB / 0.5112 GB, free: 34.56 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.785e-05/0.3937, allocations: 25.5 kB / 0.5112 GB, free: 34.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.813e-05/0.3938, allocations: 26.75 kB / 0.5112 GB, free: 34.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.134e-05/0.3939, allocations: 328.9 kB / 0.5116 GB, free: 34.2 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.33e-05/0.3939, allocations: 18.92 kB / 0.5116 GB, free: 34.19 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.867e-05/0.394, allocations: 39.55 kB / 0.5116 GB, free: 34.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.849e-05/0.3941, allocations: 55.95 kB / 0.5117 GB, free: 34.13 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3941, allocations: 2.875 kB / 0.5117 GB, free: 34.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001614/0.3943, allocations: 108.2 kB / 0.5118 GB, free: 34.06 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.3943, allocations: 5.625 kB / 0.5118 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3943, allocations: 0 / 0.5118 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.3943, allocations: 2.875 kB / 0.5118 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.34e-05/0.3944, allocations: 22.61 kB / 0.5118 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.3944, allocations: 6.922 kB / 0.5118 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.485e-05/0.3945, allocations: 6.938 kB / 0.5118 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/0.3945, allocations: 3.984 kB / 0.5118 GB, free: 34.04 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 9.114e-05/0.3946, allocations: 134 kB / 0.5119 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.509e-05/0.3946, allocations: 13.56 kB / 0.512 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.825e-05/0.3947, allocations: 19 kB / 0.512 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.3947, allocations: 3.188 kB / 0.512 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.3947, allocations: 0 / 0.512 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.3947, allocations: 3.938 kB / 0.512 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003716/0.3951, allocations: 388.3 kB / 0.5123 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.3951, allocations: 2.75 kB / 0.5124 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.915e-05/0.3951, allocations: 10.22 kB / 0.5124 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3952, allocations: 2.938 kB / 0.5124 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.3952, allocations: 3.938 kB / 0.5124 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3952, allocations: 0 / 0.5124 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.3952, allocations: 3.469 kB / 0.5124 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004227/0.3956, allocations: 0.7922 MB / 0.5131 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.073e-05/0.3956, allocations: 87.36 kB / 0.5132 GB, free: 32.67 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.3957, allocations: 3.234 kB / 0.5132 GB, free: 32.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.469e-05/0.3957, allocations: 2.812 kB / 0.5132 GB, free: 32.67 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.038e-05/0.3958, allocations: 10.39 kB / 0.5132 GB, free: 32.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.3958, allocations: 2.906 kB / 0.5132 GB, free: 32.67 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.709e-05/0.3959, allocations: 150 kB / 0.5134 GB, free: 32.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3959, allocations: 0 / 0.5134 GB, free: 32.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003627/0.3963, allocations: 27.25 kB / 0.5134 GB, free: 32.57 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.001096/0.3974, allocations: 461.4 kB / 0.5139 GB, free: 32.35 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001812/0.3976, allocations: 63.44 kB / 0.5139 GB, free: 32.33 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3976, allocations: 4.062 kB / 0.5139 GB, free: 32.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.635e-05/0.3977, allocations: 25.61 kB / 0.5139 GB, free: 32.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003326/0.398, allocations: 35.69 kB / 0.514 GB, free: 32.31 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005574/0.3986, allocations: 379 kB / 0.5143 GB, free: 31.99 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001816/0.3988, allocations: 0.7067 MB / 0.515 GB, free: 31.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.663e-05/0.3988, allocations: 16.42 kB / 0.515 GB, free: 31.29 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.772e-05/0.3989, allocations: 15.5 kB / 0.5151 GB, free: 31.29 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3989, allocations: 4 kB / 0.5151 GB, free: 31.29 MB / 378.7 MB Notification: Performance of Templates: time 0.004133/0.403, allocations: 1.685 MB / 0.5167 GB, free: 31.09 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches