Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,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.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,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.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 110 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.001501/0.001501, allocations: 186.3 kB / 19.38 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.415/1.415, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.2169/0.2169, allocations: 44.18 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 63.91 kB / 471.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3832/0.3845, allocations: 60.82 MB / 0.5196 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003184/0.3877, allocations: 1.707 MB / 0.5213 GB, free: 2.441 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001409/0.3892, allocations: 0.8771 MB / 0.5222 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.596e-05/0.3892, allocations: 1.375 kB / 0.5222 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003339/0.3896, allocations: 54.36 kB / 0.5222 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000235/0.3899, allocations: 56.59 kB / 0.5223 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003402/0.3902, allocations: 112.5 kB / 0.5224 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002094/0.3904, allocations: 96.83 kB / 0.5225 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.3906, allocations: 16.08 kB / 0.5225 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.3907, allocations: 44.8 kB / 0.5225 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.36e-05/0.3908, allocations: 25.91 kB / 0.5226 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.682e-05/0.3908, allocations: 4.5 kB / 0.5226 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001312/0.3909, allocations: 46.69 kB / 0.5226 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.72e-05/0.391, allocations: 31.14 kB / 0.5226 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.678e-05/0.3911, allocations: 38.91 kB / 0.5227 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002707/0.3914, allocations: 125 kB / 0.5228 GB, free: 1.531 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.3914, allocations: 4 kB / 0.5228 GB, free: 1.527 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.3914, allocations: 4.547 kB / 0.5228 GB, free: 1.523 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.335e-06/0.3914, allocations: 5.312 kB / 0.5228 GB, free: 1.52 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.0005706/0.392, allocations: 428.7 kB / 0.5232 GB, free: 1.105 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.392, allocations: 10 kB / 0.5232 GB, free: 1.105 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.325e-05/0.3921, allocations: 15.28 kB / 0.5232 GB, free: 1.098 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002776/0.3924, allocations: 222.5 kB / 0.5235 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.3924, allocations: 6.297 kB / 0.5235 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.814e-05/0.3924, allocations: 6.469 kB / 0.5235 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.3926, allocations: 54.67 kB / 0.5235 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.3926, allocations: 7.938 kB / 0.5235 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.3926, allocations: 1.188 kB / 0.5235 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.3926, allocations: 0 / 0.5235 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.874e-05/0.3927, allocations: 19.22 kB / 0.5235 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003488/0.3931, allocations: 293.1 kB / 0.5238 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000174/0.3933, allocations: 56.75 kB / 0.5239 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.406e-05/0.3933, allocations: 23.66 kB / 0.5239 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.3934, allocations: 6.641 kB / 0.5239 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001424/0.3935, allocations: 59.84 kB / 0.524 GB, free: 428 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.3935, allocations: 0 / 0.524 GB, free: 428 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005968/0.3941, allocations: 192.6 kB / 0.5241 GB, free: 324 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.3942, allocations: 60.84 kB / 0.5242 GB, free: 252 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000283/0.3945, allocations: 261.2 kB / 0.5245 GB, free: 100 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.3945, allocations: 27.69 kB / 0.5245 GB, free: 68 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.3946, allocations: 115.3 kB / 0.5246 GB, free: 15.96 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.582e-05/0.3946, allocations: 25.86 kB / 0.5246 GB, free: 15.94 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.816e-05/0.3947, allocations: 26.78 kB / 0.5246 GB, free: 15.92 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.3948, allocations: 327.9 kB / 0.525 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.875e-05/0.3949, allocations: 25.75 kB / 0.525 GB, free: 15.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.599e-05/0.395, allocations: 39.31 kB / 0.525 GB, free: 15.56 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001294/0.3951, allocations: 58.11 kB / 0.5251 GB, free: 15.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.3951, allocations: 0 / 0.5251 GB, free: 15.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002048/0.3954, allocations: 108 kB / 0.5252 GB, free: 15.46 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.3954, allocations: 3.75 kB / 0.5252 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.3954, allocations: 1.875 kB / 0.5252 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.3954, allocations: 0.6562 kB / 0.5252 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.482e-05/0.3955, allocations: 19.61 kB / 0.5252 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.3955, allocations: 6.312 kB / 0.5252 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.951e-05/0.3956, allocations: 10.2 kB / 0.5252 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.096e-06/0.3956, allocations: 3.344 kB / 0.5252 GB, free: 15.45 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.0001289/0.3957, allocations: 135.7 kB / 0.5253 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.985e-05/0.3958, allocations: 14.8 kB / 0.5254 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.54e-05/0.3958, allocations: 18.77 kB / 0.5254 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.3958, allocations: 1.922 kB / 0.5254 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.3959, allocations: 5.469 kB / 0.5254 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.3959, allocations: 4.453 kB / 0.5254 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004935/0.3964, allocations: 398.8 kB / 0.5258 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.3964, allocations: 3.984 kB / 0.5258 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.493e-05/0.3964, allocations: 13.34 kB / 0.5258 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3964, allocations: 0 / 0.5258 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.3965, allocations: 6.891 kB / 0.5258 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.3965, allocations: 2.188 kB / 0.5258 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3965, allocations: 0 / 0.5258 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002513/0.3967, allocations: 214.3 kB / 0.526 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.534e-05/0.3968, allocations: 89.11 kB / 0.5261 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.796e-05/0.3969, allocations: 10.22 kB / 0.5261 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.905e-05/0.3969, allocations: 2.625 kB / 0.5261 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.263e-05/0.397, allocations: 10.27 kB / 0.5261 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.397, allocations: 4.219 kB / 0.5261 GB, free: 14.64 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001837/0.3972, allocations: 203.7 kB / 0.5263 GB, free: 14.53 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3972, allocations: 0 / 0.5263 GB, free: 14.53 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002769/0.3975, allocations: 29.17 kB / 0.5263 GB, free: 14.52 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.001107/0.3986, allocations: 466.8 kB / 0.5268 GB, free: 14.3 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001912/0.3988, allocations: 56.41 kB / 0.5268 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3988, allocations: 1.375 kB / 0.5268 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.927e-05/0.3989, allocations: 31.02 kB / 0.5269 GB, free: 14.28 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.3993, allocations: 36.94 kB / 0.5269 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005579/0.3998, allocations: 302.3 kB / 0.5272 GB, free: 14.05 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.4002, allocations: 0.7202 MB / 0.5279 GB, free: 13.35 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.038e-05/0.4002, allocations: 21 kB / 0.5279 GB, free: 13.34 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4002, allocations: 3.938 kB / 0.5279 GB, free: 13.34 MB / 398.1 MB Notification: Performance of Templates: time 0.004656/0.4049, allocations: 2.059 MB / 0.5299 GB, free: 12.54 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches