Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001671/0.001671, 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.461/1.461, allocations: 222.9 MB / 241.6 MB, free: 11 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.001194/0.001195, allocations: 101.8 kB / 291.9 MB, free: 10.96 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.371/0.371, allocations: 44.13 MB / 386.1 MB, free: 37.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00103/0.00103, allocations: 51.92 kB / 457.7 MB, free: 2.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3812/0.3823, allocations: 60.81 MB / 0.5064 GB, free: 38.09 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.003005/0.3853, allocations: 1.761 MB / 0.5081 GB, free: 36.89 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.3866, allocations: 0.8638 MB / 0.509 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.862e-05/0.3867, allocations: 0 / 0.509 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002888/0.387, allocations: 40.84 kB / 0.509 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001614/0.3872, allocations: 45.84 kB / 0.509 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002387/0.3874, allocations: 86.41 kB / 0.5091 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001494/0.3876, allocations: 96.88 kB / 0.5092 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.172e-05/0.3877, allocations: 5.234 kB / 0.5092 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.72e-05/0.3878, allocations: 49.55 kB / 0.5093 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.249e-05/0.3878, allocations: 26.66 kB / 0.5093 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.3878, allocations: 6.812 kB / 0.5093 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.777e-05/0.3879, allocations: 39.23 kB / 0.5093 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.36e-05/0.388, allocations: 22.97 kB / 0.5094 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.997e-05/0.3881, allocations: 31.31 kB / 0.5094 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001621/0.3882, allocations: 112.4 kB / 0.5095 GB, free: 36.03 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3882, allocations: 0 / 0.5095 GB, free: 36.03 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.3882, allocations: 0 / 0.5095 GB, free: 36.03 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.3882, allocations: 3.938 kB / 0.5095 GB, free: 36.03 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.0005029/0.3888, allocations: 408.9 kB / 0.5099 GB, free: 35.62 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.3888, allocations: 12.69 kB / 0.5099 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.691e-05/0.3889, allocations: 7.75 kB / 0.5099 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.389, allocations: 204.1 kB / 0.5101 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.3891, allocations: 7.516 kB / 0.5101 GB, free: 35.4 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.3891, allocations: 6.688 kB / 0.5101 GB, free: 35.4 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.3892, allocations: 55.64 kB / 0.5102 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.3892, allocations: 0 / 0.5102 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.3893, allocations: 2.938 kB / 0.5102 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.3893, allocations: 0 / 0.5102 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.123e-05/0.3893, allocations: 19 kB / 0.5102 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002834/0.3896, allocations: 300.2 kB / 0.5105 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.3898, allocations: 55.77 kB / 0.5105 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.531e-05/0.3898, allocations: 20.81 kB / 0.5106 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.3899, allocations: 2.594 kB / 0.5106 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001688/0.3901, allocations: 72.44 kB / 0.5106 GB, free: 34.94 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.3901, allocations: 0 / 0.5106 GB, free: 34.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004727/0.3905, allocations: 170.7 kB / 0.5108 GB, free: 34.86 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.487e-05/0.3906, allocations: 51.41 kB / 0.5108 GB, free: 34.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.3907, allocations: 187.6 kB / 0.511 GB, free: 34.67 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.929e-06/0.3907, allocations: 29.64 kB / 0.511 GB, free: 34.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.606e-05/0.3908, allocations: 102.5 kB / 0.5111 GB, free: 34.54 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.36e-05/0.3908, allocations: 28.84 kB / 0.5112 GB, free: 34.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.091e-05/0.3908, allocations: 23.62 kB / 0.5112 GB, free: 34.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.52e-05/0.3909, allocations: 325.1 kB / 0.5115 GB, free: 34.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.994e-05/0.3909, allocations: 22.09 kB / 0.5115 GB, free: 34.17 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.657e-05/0.391, allocations: 38.8 kB / 0.5116 GB, free: 34.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.635e-05/0.3911, allocations: 66.48 kB / 0.5116 GB, free: 34.1 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.3911, allocations: 0 / 0.5116 GB, free: 34.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001513/0.3913, allocations: 103.1 kB / 0.5117 GB, free: 34.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.3913, allocations: 5.844 kB / 0.5117 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.3913, allocations: 0 / 0.5117 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.3913, allocations: 3.938 kB / 0.5117 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.686e-05/0.3914, allocations: 16.73 kB / 0.5117 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.3914, allocations: 2.812 kB / 0.5118 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.284e-05/0.3915, allocations: 7.922 kB / 0.5118 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.3915, allocations: 6.969 kB / 0.5118 GB, free: 34.02 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 7.129e-05/0.3916, allocations: 129.9 kB / 0.5119 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.01e-05/0.3916, allocations: 13.19 kB / 0.5119 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.259e-05/0.3916, allocations: 17.77 kB / 0.5119 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.3917, allocations: 0 / 0.5119 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.3917, allocations: 2.688 kB / 0.5119 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.3917, allocations: 3.938 kB / 0.5119 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003186/0.392, allocations: 392.3 kB / 0.5123 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.392, allocations: 0 / 0.5123 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.774e-05/0.392, allocations: 9.469 kB / 0.5123 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.392, allocations: 2.844 kB / 0.5123 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.3921, allocations: 3.938 kB / 0.5123 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.3921, allocations: 6.906 kB / 0.5123 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3921, allocations: 0 / 0.5123 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003774/0.3925, allocations: 0.7828 MB / 0.5131 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.63e-05/0.3925, allocations: 87.83 kB / 0.5132 GB, free: 32.65 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.3925, allocations: 2.844 kB / 0.5132 GB, free: 32.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.567e-05/0.3926, allocations: 3.281 kB / 0.5132 GB, free: 32.65 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.333e-05/0.3926, allocations: 6.781 kB / 0.5132 GB, free: 32.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.3927, allocations: 8.906 kB / 0.5132 GB, free: 32.65 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.318e-05/0.3927, allocations: 150.9 kB / 0.5133 GB, free: 32.55 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3927, allocations: 4 kB / 0.5133 GB, free: 32.54 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003328/0.3931, allocations: 25.22 kB / 0.5134 GB, free: 32.54 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.0009266/0.394, allocations: 464.3 kB / 0.5138 GB, free: 32.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001529/0.3942, allocations: 65.52 kB / 0.5139 GB, free: 32.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3942, allocations: 0 / 0.5139 GB, free: 32.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.611e-05/0.3943, allocations: 36.5 kB / 0.5139 GB, free: 32.29 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/0.3946, allocations: 26.97 kB / 0.5139 GB, free: 32.28 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004423/0.395, allocations: 374.8 kB / 0.5143 GB, free: 31.96 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001481/0.3952, allocations: 0.7046 MB / 0.515 GB, free: 31.26 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.091e-05/0.3953, allocations: 13.48 kB / 0.515 GB, free: 31.26 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.305e-05/0.3953, allocations: 19.66 kB / 0.515 GB, free: 31.25 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3953, allocations: 3.938 kB / 0.515 GB, free: 31.25 MB / 378.7 MB Notification: Performance of Templates: time 0.004128/0.3994, allocations: 1.669 MB / 0.5166 GB, free: 31.06 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches