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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001592/0.001592, allocations: 117.1 kB / 17.78 MB, free: 5.242 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.001793/0.001793, allocations: 181 kB / 18.71 MB, free: 4.32 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.356/1.356, allocations: 222.9 MB / 242.4 MB, free: 15.16 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.2109/0.2109, allocations: 44.19 MB / 336.8 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 59.91 kB / 470.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4098/0.4111, allocations: 60.82 MB / 0.519 GB, free: 3.637 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.002836/0.414, allocations: 1.709 MB / 0.5207 GB, free: 2.449 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001323/0.4153, allocations: 0.8793 MB / 0.5215 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.565e-05/0.4154, allocations: 1.031 kB / 0.5215 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003153/0.4157, allocations: 38.36 kB / 0.5215 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002187/0.416, allocations: 55.84 kB / 0.5216 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002847/0.4163, allocations: 105.5 kB / 0.5217 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001819/0.4164, allocations: 96.36 kB / 0.5218 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.4166, allocations: 19.67 kB / 0.5218 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.726e-05/0.4167, allocations: 40.55 kB / 0.5219 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.454e-05/0.4167, allocations: 30.06 kB / 0.5219 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.4168, allocations: 4.469 kB / 0.5219 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.4169, allocations: 45.38 kB / 0.5219 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.329e-05/0.417, allocations: 24.12 kB / 0.522 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.197e-05/0.417, allocations: 32.5 kB / 0.522 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002425/0.4173, allocations: 114.3 kB / 0.5221 GB, free: 1.555 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.4173, allocations: 0 / 0.5221 GB, free: 1.555 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4173, allocations: 4 kB / 0.5221 GB, free: 1.551 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.173e-05/0.4173, allocations: 2.125 kB / 0.5221 GB, free: 1.551 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.00051/0.4178, allocations: 418.7 kB / 0.5225 GB, free: 1.137 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.4179, allocations: 10.03 kB / 0.5225 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.946e-05/0.4179, allocations: 10.05 kB / 0.5225 GB, free: 1.133 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.4182, allocations: 224.2 kB / 0.5227 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.4182, allocations: 1.281 kB / 0.5227 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.812e-05/0.4182, allocations: 7.016 kB / 0.5227 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.4184, allocations: 58.31 kB / 0.5228 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.4184, allocations: 4.688 kB / 0.5228 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.4184, allocations: 0 / 0.5228 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.4184, allocations: 1.062 kB / 0.5228 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.502e-05/0.4185, allocations: 19.2 kB / 0.5228 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003346/0.4188, allocations: 287.6 kB / 0.5231 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001744/0.419, allocations: 59.73 kB / 0.5231 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.359e-05/0.4191, allocations: 23.75 kB / 0.5232 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.4191, allocations: 1.031 kB / 0.5232 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001437/0.4193, allocations: 71 kB / 0.5232 GB, free: 456 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.4193, allocations: 0 / 0.5232 GB, free: 456 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006896/0.42, allocations: 177 kB / 0.5234 GB, free: 364 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.573e-05/0.42, allocations: 65.12 kB / 0.5235 GB, free: 288 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002335/0.4203, allocations: 192.3 kB / 0.5237 GB, free: 156 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.4203, allocations: 26.64 kB / 0.5237 GB, free: 124 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.026e-05/0.4204, allocations: 104.2 kB / 0.5238 GB, free: 24 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.553e-05/0.4204, allocations: 27.05 kB / 0.5238 GB, free: 4 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.322e-05/0.4205, allocations: 21.31 kB / 0.5238 GB, free: 15.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.4207, allocations: 331.1 kB / 0.5241 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.975e-05/0.4208, allocations: 21.34 kB / 0.5242 GB, free: 15.65 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.907e-05/0.4209, allocations: 35.31 kB / 0.5242 GB, free: 15.63 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.421, allocations: 61.97 kB / 0.5243 GB, free: 15.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.421, allocations: 0 / 0.5243 GB, free: 15.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002181/0.4212, allocations: 102.1 kB / 0.5243 GB, free: 15.53 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.4213, allocations: 5.312 kB / 0.5244 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.4213, allocations: 4.734 kB / 0.5244 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.4213, allocations: 1.125 kB / 0.5244 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.4215, allocations: 19.39 kB / 0.5244 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.4215, allocations: 1.719 kB / 0.5244 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.919e-05/0.4215, allocations: 14.77 kB / 0.5244 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.4216, allocations: 2.625 kB / 0.5244 GB, free: 15.51 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.000129/0.4217, allocations: 126.2 kB / 0.5245 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.075e-05/0.4217, allocations: 14.97 kB / 0.5245 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.966e-05/0.4218, allocations: 16.61 kB / 0.5245 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.4218, allocations: 4.75 kB / 0.5246 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.4218, allocations: 1.25 kB / 0.5246 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.4218, allocations: 4.641 kB / 0.5246 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000587/0.4224, allocations: 395.4 kB / 0.5249 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.4224, allocations: 0 / 0.5249 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.618e-05/0.4225, allocations: 13.2 kB / 0.5249 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.752e-06/0.4225, allocations: 1.875 kB / 0.5249 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/0.4225, allocations: 5.75 kB / 0.525 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.4225, allocations: 9.562 kB / 0.525 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.4225, allocations: 1.469 kB / 0.525 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000291/0.4228, allocations: 204.8 kB / 0.5252 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.746e-05/0.4229, allocations: 90.08 kB / 0.5252 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.993e-05/0.4229, allocations: 6.828 kB / 0.5253 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.678e-05/0.423, allocations: 0.6562 kB / 0.5253 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.501e-05/0.4231, allocations: 14.25 kB / 0.5253 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.133e-05/0.4231, allocations: 4.453 kB / 0.5253 GB, free: 14.71 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001751/0.4233, allocations: 147.2 kB / 0.5254 GB, free: 14.62 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4233, allocations: 0 / 0.5254 GB, free: 14.62 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003571/0.4237, allocations: 22.38 kB / 0.5254 GB, free: 14.62 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.001199/0.4249, allocations: 474 kB / 0.5259 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001971/0.4251, allocations: 56.89 kB / 0.5259 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4251, allocations: 0 / 0.5259 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.7e-05/0.4252, allocations: 33.45 kB / 0.526 GB, free: 14.37 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.4255, allocations: 33.19 kB / 0.526 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005019/0.4261, allocations: 229.6 kB / 0.5262 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.4264, allocations: 0.7064 MB / 0.5269 GB, free: 13.48 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.272e-05/0.4265, allocations: 17 kB / 0.5269 GB, free: 13.48 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.374e-05/0.4265, allocations: 24.84 kB / 0.527 GB, free: 13.47 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4266, allocations: 0 / 0.527 GB, free: 13.47 MB / 398.1 MB Notification: Performance of Templates: time 0.005395/0.432, allocations: 1.714 MB / 0.5286 GB, free: 12.92 MB / 398.1 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches