Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,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.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,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.Test52") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 111.8 kB / 18.45 MB, free: 4.602 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.001407/0.001408, allocations: 182.3 kB / 19.37 MB, free: 3.684 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.334/1.334, allocations: 222.9 MB / 243.1 MB, free: 15.06 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.2035/0.2035, allocations: 44.18 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 63.91 kB / 471.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3667/0.3679, allocations: 60.82 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.003261/0.3712, allocations: 1.703 MB / 0.5213 GB, free: 2.434 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001548/0.3728, allocations: 0.88 MB / 0.5222 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.3729, allocations: 9.062 kB / 0.5222 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003436/0.3733, allocations: 42.41 kB / 0.5222 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003036/0.3736, allocations: 61.73 kB / 0.5223 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004144/0.374, allocations: 105.2 kB / 0.5224 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000221/0.3743, allocations: 92.89 kB / 0.5225 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.3744, allocations: 19.59 kB / 0.5225 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.3745, allocations: 42.31 kB / 0.5225 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.814e-05/0.3746, allocations: 25.02 kB / 0.5225 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.605e-05/0.3747, allocations: 3.5 kB / 0.5225 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.3748, allocations: 46.69 kB / 0.5226 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.514e-05/0.3749, allocations: 25.52 kB / 0.5226 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.793e-05/0.3749, allocations: 37.83 kB / 0.5227 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002801/0.3752, allocations: 115.6 kB / 0.5228 GB, free: 1.531 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.3752, allocations: 6 kB / 0.5228 GB, free: 1.527 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3752, allocations: 3.938 kB / 0.5228 GB, free: 1.523 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.3753, allocations: 0 / 0.5228 GB, free: 1.523 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.0006083/0.3759, allocations: 425.9 kB / 0.5232 GB, free: 1.109 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.3759, allocations: 9.062 kB / 0.5232 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.48e-05/0.376, allocations: 14.81 kB / 0.5232 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003016/0.3763, allocations: 211.1 kB / 0.5234 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.3763, allocations: 3.156 kB / 0.5234 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.3764, allocations: 6.562 kB / 0.5234 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.3765, allocations: 57.38 kB / 0.5235 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.3765, allocations: 4.594 kB / 0.5235 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.3766, allocations: 5.281 kB / 0.5235 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.3766, allocations: 1 kB / 0.5235 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.192e-05/0.3767, allocations: 18.22 kB / 0.5235 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003899/0.3771, allocations: 294 kB / 0.5238 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001767/0.3772, allocations: 55.98 kB / 0.5238 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.464e-05/0.3773, allocations: 27.86 kB / 0.5239 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.3773, allocations: 2.125 kB / 0.5239 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001557/0.3775, allocations: 65.2 kB / 0.5239 GB, free: 432 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.793e-06/0.3775, allocations: 0 / 0.5239 GB, free: 432 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005801/0.3781, allocations: 181.6 kB / 0.5241 GB, free: 336 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.3781, allocations: 57.61 kB / 0.5241 GB, free: 268 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002441/0.3784, allocations: 218.3 kB / 0.5244 GB, free: 128 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.3784, allocations: 27.45 kB / 0.5244 GB, free: 96 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.34e-05/0.3785, allocations: 110.3 kB / 0.5245 GB, free: 15.99 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.682e-05/0.3785, allocations: 22.89 kB / 0.5245 GB, free: 15.97 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.356e-05/0.3786, allocations: 20.86 kB / 0.5245 GB, free: 15.95 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.3787, allocations: 327.5 kB / 0.5248 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.444e-05/0.3788, allocations: 25.02 kB / 0.5249 GB, free: 15.62 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.418e-05/0.3789, allocations: 34.39 kB / 0.5249 GB, free: 15.6 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/0.379, allocations: 67.3 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.379, allocations: 0 / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002207/0.3792, allocations: 101.5 kB / 0.5251 GB, free: 15.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.3793, allocations: 4.969 kB / 0.5251 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3793, allocations: 5.562 kB / 0.5251 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.3793, allocations: 1.062 kB / 0.5251 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.841e-05/0.3794, allocations: 19.91 kB / 0.5251 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.3794, allocations: 1.125 kB / 0.5251 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.51e-05/0.3795, allocations: 10.83 kB / 0.5251 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.3795, allocations: 6.906 kB / 0.5251 GB, free: 15.48 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.0001121/0.3796, allocations: 130.7 kB / 0.5252 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.13e-05/0.3797, allocations: 18.34 kB / 0.5252 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.564e-05/0.3797, allocations: 21.83 kB / 0.5253 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.249e-06/0.3797, allocations: 9.047 kB / 0.5253 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3797, allocations: 0.9688 kB / 0.5253 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.3798, allocations: 4.828 kB / 0.5253 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004875/0.3802, allocations: 390.5 kB / 0.5257 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.3803, allocations: 4.5 kB / 0.5257 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.55e-05/0.3803, allocations: 13.05 kB / 0.5257 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.3803, allocations: 0 / 0.5257 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.3803, allocations: 6.594 kB / 0.5257 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.3803, allocations: 6.406 kB / 0.5257 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3804, allocations: 0 / 0.5257 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002464/0.3806, allocations: 205.9 kB / 0.5259 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.038e-05/0.3807, allocations: 84.75 kB / 0.526 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.98e-05/0.3807, allocations: 6.641 kB / 0.526 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.525e-05/0.3808, allocations: 6.141 kB / 0.526 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.855e-05/0.3808, allocations: 14.55 kB / 0.526 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.3809, allocations: 4.047 kB / 0.526 GB, free: 14.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001719/0.381, allocations: 175.6 kB / 0.5262 GB, free: 14.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.381, allocations: 0 / 0.5262 GB, free: 14.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002802/0.3813, allocations: 22.02 kB / 0.5262 GB, free: 14.57 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.001111/0.3824, allocations: 467.4 kB / 0.5266 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000199/0.3826, allocations: 64.11 kB / 0.5267 GB, free: 14.33 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3827, allocations: 0 / 0.5267 GB, free: 14.33 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.116e-05/0.3827, allocations: 29.55 kB / 0.5267 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.3831, allocations: 24.91 kB / 0.5267 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005202/0.3837, allocations: 285.5 kB / 0.527 GB, free: 14.11 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.384, allocations: 0.719 MB / 0.5277 GB, free: 13.4 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.573e-05/0.384, allocations: 17.33 kB / 0.5277 GB, free: 13.4 MB / 398.1 MB Notification: Performance of SimCode: time 4.61e-07/0.384, allocations: 3.938 kB / 0.5277 GB, free: 13.39 MB / 398.1 MB Notification: Performance of Templates: time 0.005106/0.3891, allocations: 1.983 MB / 0.5297 GB, free: 12.66 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches